microblaze: Move CONFIG_LMB from board file to config.h
authorMichal Simek <michal.simek@xilinx.com>
Wed, 25 Sep 2019 06:32:27 +0000 (08:32 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:55:11 +0000 (09:55 +0200)
It is common for the whole architecture that's why move it there.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/config.h
include/configs/microblaze-generic.h

index 45966ee..d522669 100644 (file)
@@ -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
index 814fec5..f66f63e 100644 (file)
                                        "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