fastboot: Remove <common.h> and add needed includes
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2016 The Android Open Source Project
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <console.h>
|
||||
#include <env.h>
|
||||
@@ -13,6 +12,7 @@
|
||||
#include <fb_nand.h>
|
||||
#include <part.h>
|
||||
#include <stdlib.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/printk.h>
|
||||
|
||||
/**
|
||||
|
||||
@@ -11,11 +11,11 @@
|
||||
*/
|
||||
|
||||
#include <bcb.h>
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
#include <env.h>
|
||||
#include <fastboot.h>
|
||||
#include <net.h>
|
||||
#include <vsprintf.h>
|
||||
|
||||
/**
|
||||
* fastboot_buf_addr - base address of the fastboot download buffer
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
* Copyright (C) 2016 The Android Open Source Project
|
||||
*/
|
||||
|
||||
#include <common.h>
|
||||
#include <env.h>
|
||||
#include <fastboot.h>
|
||||
#include <fastboot-internal.h>
|
||||
@@ -12,6 +11,7 @@
|
||||
#include <fs.h>
|
||||
#include <part.h>
|
||||
#include <version.h>
|
||||
#include <vsprintf.h>
|
||||
#include <linux/printk.h>
|
||||
|
||||
static void getvar_version(char *var_parameter, char *response);
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
#include <env.h>
|
||||
#include <fastboot.h>
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#include <common.h>
|
||||
#include <blk.h>
|
||||
|
||||
#include <fastboot.h>
|
||||
|
||||
Reference in New Issue
Block a user