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:
Tom Rini 2024-05-01 19:30:45 -06:00
parent ac01ed260b
commit 61595e4e97
5 changed files with 3 additions and 5 deletions

View File

@ -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>
/**

View File

@ -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

View File

@ -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);

View File

@ -4,7 +4,6 @@
*/
#include <config.h>
#include <common.h>
#include <blk.h>
#include <env.h>
#include <fastboot.h>

View File

@ -5,7 +5,6 @@
*/
#include <config.h>
#include <common.h>
#include <blk.h>
#include <fastboot.h>