[U-Boot] [PATCH] meson: misc_init_r is board-specific

Andreas Färber afaerber at suse.de
Sun Jan 15 19:53:53 CET 2017


Move it from meson-gxbb-common.h to odroid-c2.h to allow new boards not
to implement it.

Signed-off-by: Andreas Färber <afaerber at suse.de>
---
 include/configs/meson-gxbb-common.h | 1 -
 include/configs/odroid-c2.h         | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
index 75f6dc5..17e81b4 100644
--- a/include/configs/meson-gxbb-common.h
+++ b/include/configs/meson-gxbb-common.h
@@ -17,7 +17,6 @@
 #define CONFIG_SYS_MAXARGS		32
 #define CONFIG_SYS_MALLOC_LEN		(32 << 20)
 #define CONFIG_SYS_CBSIZE		1024
-#define CONFIG_MISC_INIT_R
 
 #define CONFIG_SYS_SDRAM_BASE		0
 #define CONFIG_SYS_TEXT_BASE		0x01000000
diff --git a/include/configs/odroid-c2.h b/include/configs/odroid-c2.h
index bf7e1af..48f4a68 100644
--- a/include/configs/odroid-c2.h
+++ b/include/configs/odroid-c2.h
@@ -8,6 +8,8 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+#define CONFIG_MISC_INIT_R
+
 /* Serial setup */
 #define CONFIG_CONS_INDEX		0
 #define CONFIG_BAUDRATE			115200
-- 
2.10.2



More information about the U-Boot mailing list