Skip to contentSkip to conversation

meson: misc_init_r is board-specific

PATCH In review Andreas Färber 2 participants 2 messages Jan 15, 2017 – Jan 21, 2017 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: misc_init_r is board-specific

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

---
 include/configs/meson-gxbb-common.h | 1 -
 include/configs/odroid-c2.h         | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
include/configs/meson-gxbb-common.h +0 -1
index 75f6dc5..17e81b4 100644
@@ -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
include/configs/odroid-c2.h +2 -0
index bf7e1af..48f4a68 100644
@@ -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
Signature · 1 line
2.10.2
#1 lore raw
Quoted 4 lines · Andreas F?rber

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

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170120/8813ff23/attachment.sig>