board: cobra5272: Remove <common.h> and add needed includes
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2024 02:41:27 +0000 (20:41 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 6 May 2024 21:07:49 +0000 (15:07 -0600)
Remove <common.h> from this board vendor directory and when needed
add missing include files directly.

Signed-off-by: Tom Rini <trini@konsulko.com>
board/cobra5272/cobra5272.c
board/cobra5272/flash.c

index 69a9df9..774aa82 100644 (file)
@@ -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>
index 8416af1..157b71d 100644 (file)
@@ -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