[PATCH v2 1/5] board: xen: Remove unnecessary CONFIG_BOARD_EARLY_INIT_F define and board_early_init_f function

Anastasiia Lukianenko vicooodin at gmail.com
Fri Aug 21 11:10:00 CEST 2020


From: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>

Signed-off-by: Anastasiia Lukianenko <anastasiia_lukianenko at epam.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
---
 board/xen/xenguest_arm64/xenguest_arm64.c | 5 -----
 include/configs/xenguest_arm64.h          | 2 --
 2 files changed, 7 deletions(-)

diff --git a/board/xen/xenguest_arm64/xenguest_arm64.c b/board/xen/xenguest_arm64/xenguest_arm64.c
index cce54369bb..4660f3fff2 100644
--- a/board/xen/xenguest_arm64/xenguest_arm64.c
+++ b/board/xen/xenguest_arm64/xenguest_arm64.c
@@ -184,11 +184,6 @@ int ft_board_setup(void *blob, struct bd_info *bd)
 	return 0;
 }
 
-int board_early_init_f(void)
-{
-	return 0;
-}
-
 int print_cpuinfo(void)
 {
 	printf("Xen virtual CPU\n");
diff --git a/include/configs/xenguest_arm64.h b/include/configs/xenguest_arm64.h
index db3059a82c..e88ab87a1d 100644
--- a/include/configs/xenguest_arm64.h
+++ b/include/configs/xenguest_arm64.h
@@ -9,8 +9,6 @@
 #include <linux/types.h>
 #endif
 
-#define CONFIG_BOARD_EARLY_INIT_F
-
 #define CONFIG_EXTRA_ENV_SETTINGS
 
 #undef CONFIG_NR_DRAM_BANKS
-- 
2.17.1



More information about the U-Boot mailing list