]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 69a9df942311949cc6712be30ede9712aea7ba77..774aa82b57feda4e6cb081a158240873fae1f638 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 8416af163ad1c194732e3e0d7c6ed75e8e2e2f6b..157b71da85e80b426b9979723418ea4e1183f41a 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