km/powerpc: move open firmware defines to km-powerpc.h
authorHolger Brunck <holger.brunck@keymile.com>
Tue, 17 Nov 2015 09:53:28 +0000 (10:53 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 18 Nov 2015 20:28:54 +0000 (15:28 -0500)
We use the same settings for open firmware defines on all our powerpc
targets, so move them from the CPU specific headers to the common
powerpc header.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
include/configs/km/km-powerpc.h
include/configs/km/km83xx-common.h
include/configs/km82xx.h

index 64fccbd7276d0f09d4beb12c17718b98065fee47..3f045f2e4afb2f56f23e9004dfcaed59d342d898 100644 (file)
 #define CONFIG_CMD_DTT
 #define CONFIG_JFFS2_CMDLINE
 
+/* Pass open firmware flat tree */
+#define CONFIG_OF_LIBFDT
+#define CONFIG_OF_BOARD_SETUP
+
 /* standard km ethernet_present for piggy */
 #define CONFIG_KM_COMMON_ETH_INIT
 
index cebe21060e54266a404e703cbf7384885be0e07b..4e355a7bd5417918506259a65c3b8f776d7ec0ca 100644 (file)
 #define CONFIG_SYS_NS16550_COM1        (CONFIG_SYS_IMMR+0x4500)
 #define CONFIG_SYS_NS16550_COM2        (CONFIG_SYS_IMMR+0x4600)
 
-/* Pass open firmware flat tree */
-#define CONFIG_OF_LIBFDT
-#define CONFIG_OF_BOARD_SETUP
 #define CONFIG_OF_STDOUT_VIA_ALIAS
 
 /*
index 19e89cec765ca657561ca027f937476f2bda643d..4cfc1dc2d7f9a265bdd8c36bf4418b4c2ac8a796 100644 (file)
@@ -430,10 +430,7 @@ int get_scl(void);
 
 #define        CONFIG_SYS_RESET_ADDRESS 0xFDFFFFFC     /* "bad" address */
 
-/* pass open firmware flat tree */
 #define CONFIG_FIT             1
-#define CONFIG_OF_LIBFDT       1
-#define CONFIG_OF_BOARD_SETUP  1
 
 #define OF_TBCLK               (bd->bi_busfreq / 4)
 #define OF_STDOUT_PATH         "/soc/cpm/serial@11a90"