[U-Boot] [PATCH 02/10] microblaze: Move CONFIG_LMB from board file to config.h

Michal Simek michal.simek at xilinx.com
Wed Sep 25 11:41:54 UTC 2019


It is common for the whole architecture that's why move it there.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/microblaze/include/asm/config.h | 2 ++
 include/configs/microblaze-generic.h | 3 ---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/microblaze/include/asm/config.h b/arch/microblaze/include/asm/config.h
index 45966eef9127..d522669f6660 100644
--- a/arch/microblaze/include/asm/config.h
+++ b/arch/microblaze/include/asm/config.h
@@ -6,6 +6,8 @@
 #ifndef _ASM_CONFIG_H_
 #define _ASM_CONFIG_H_
 
+#define CONFIG_LMB
+
 #ifndef CONFIG_SPL_BUILD
 #define CONFIG_NEEDS_MANUAL_RELOC
 #endif
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h
index 814fec5b330f..f66f63e07491 100644
--- a/include/configs/microblaze-generic.h
+++ b/include/configs/microblaze-generic.h
@@ -152,9 +152,6 @@
 					"setenv stdin serial\0"
 #endif
 
-/* Enable flat device tree support */
-#define CONFIG_LMB		1
-
 #if defined(CONFIG_XILINX_AXIEMAC)
 # define CONFIG_SYS_FAULT_ECHO_LINK_DOWN	1
 #endif
-- 
2.17.1



More information about the U-Boot mailing list