[U-Boot] [PATCH 3/9] sunxi: Drop use of lowlevel_init()

Simon Glass sjg at chromium.org
Tue Dec 23 20:04:53 CET 2014


This does nothing now, so drop it. We have SPL anyway to do our low-level
init.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/arm/cpu/armv7/sunxi/board.c | 5 -----
 include/configs/sunxi-common.h   | 1 +
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/arch/arm/cpu/armv7/sunxi/board.c b/arch/arm/cpu/armv7/sunxi/board.c
index 7831ac9..73c40ab 100644
--- a/arch/arm/cpu/armv7/sunxi/board.c
+++ b/arch/arm/cpu/armv7/sunxi/board.c
@@ -145,11 +145,6 @@ void reset_cpu(ulong addr)
 #endif
 }
 
-/* do some early init */
-void s_init(void)
-{
-}
-
 #ifndef CONFIG_SYS_DCACHE_OFF
 void enable_caches(void)
 {
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 3f890b2..a4daeca 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -109,6 +109,7 @@
 #define CONFIG_SYS_PBSIZE	1024	/* Print Buffer Size */
 #define CONFIG_SYS_MAXARGS	16	/* max number of command args */
 #define CONFIG_SYS_GENERIC_BOARD
+#define CONFIG_SKIP_LOWLEVEL_INIT
 
 /* Boot Argument Buffer Size */
 #define CONFIG_SYS_BARGSIZE		CONFIG_SYS_CBSIZE
-- 
2.2.0.rc0.207.ga3a616c



More information about the U-Boot mailing list