Hi Tom, Acked-by:Angelo Dureghello <angelo@kernel-space.org> On 01/05/24 4:41 AM, Tom Rini wrote: > Remove <common.h> from this board vendor directory and when needed > add missing include files directly. > > Signed-off-by: Tom Rini <trini@konsulko.com> > --- > Cc: Angelo Dureghello <angelo@kernel-space.org> > --- > board/cobra5272/cobra5272.c | 2 +- > board/cobra5272/flash.c | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/board/cobra5272/cobra5272.c b/board/cobra5272/cobra5272.c > index 69a9df942311..774aa82b57fe 100644 > --- a/board/cobra5272/cobra5272.c > +++ b/board/cobra5272/cobra5272.c > @@ -4,7 +4,7 @@ > * Wolfgang Denk, DENX Software Engineering, wd@denx.de. > */ > > -#include <common.h> > +#include <config.h> > #include <init.h> > #include <asm/global_data.h> > #include <asm/immap.h> > diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c > index 8416af163ad1..157b71da85e8 100644 > --- a/board/cobra5272/flash.c > +++ b/board/cobra5272/flash.c > @@ -4,13 +4,17 @@ > * Wolfgang Denk, DENX Software Engineering, wd@denx.de. > */ > > -#include <common.h> > +#include <config.h> > #include <console.h> > #include <cpu_func.h> > #include <flash.h> > #include <irq_func.h> > +#include <stdio.h> > +#include <time.h> > #include <uuid.h> > +#include <vsprintf.h> > #include <linux/delay.h> > +#include <linux/string.h> > > #define PHYS_FLASH_1 CFG_SYS_FLASH_BASE > #define FLASH_BANK_SIZE 0x200000
diff --git a/board/cobra5272/cobra5272.c b/board/cobra5272/cobra5272.c index 69a9df942311..774aa82b57fe 100644 --- a/board/cobra5272/cobra5272.c +++ b/board/cobra5272/cobra5272.c @@ -4,7 +4,7 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <common.h> +#include <config.h> #include <init.h> #include <asm/global_data.h> #include <asm/immap.h> diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c index 8416af163ad1..157b71da85e8 100644 --- a/board/cobra5272/flash.c +++ b/board/cobra5272/flash.c @@ -4,13 +4,17 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include <common.h> +#include <config.h> #include <console.h> #include <cpu_func.h> #include <flash.h> #include <irq_func.h> +#include <stdio.h> +#include <time.h> #include <uuid.h> +#include <vsprintf.h> #include <linux/delay.h> +#include <linux/string.h> #define PHYS_FLASH_1 CFG_SYS_FLASH_BASE #define FLASH_BANK_SIZE 0x200000
Remove <common.h> from this board vendor directory and when needed add missing include files directly. Signed-off-by: Tom Rini <trini@konsulko.com> --- Cc: Angelo Dureghello <angelo@kernel-space.org> --- board/cobra5272/cobra5272.c | 2 +- board/cobra5272/flash.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-)