arm, at91: corvus: move MACH_TYPE to defconfig
authorHeiko Schocher <hs@denx.de>
Tue, 17 Mar 2015 07:26:11 +0000 (08:26 +0100)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 31 Mar 2015 23:04:28 +0000 (01:04 +0200)
move MACH_TYPE into defconfig

Signed-off-by: Heiko Schocher <hs@denx.de>
configs/corvus_defconfig
include/configs/corvus.h

index 266a2ab49857d214626dd6aaf41366c426a99d1e..0427e9ed60f7f359eef396792f5778073fee10a6 100644 (file)
@@ -1,5 +1,5 @@
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9M10G45,SYS_USE_NANDFLASH"
+CONFIG_SYS_EXTRA_OPTIONS="AT91SAM9M10G45,MACH_TYPE=2066,SYS_USE_NANDFLASH"
 CONFIG_ARM=y
 CONFIG_ARCH_AT91=y
 CONFIG_TARGET_CORVUS=y
index ace511f76534bc9188a2222eee32a0f15cb2bc0f..f5b8f9b4421b694d7847eddb8803dcd0cf3d45ce 100644 (file)
@@ -16,9 +16,6 @@
 
 #include <asm/hardware.h>
 
-#define MACH_TYPE_CORVUS               2066
-
-#define CONFIG_MACH_TYPE               MACH_TYPE_CORVUS
 #define CONFIG_SYS_GENERIC_BOARD
 /*
  * Warning: changing CONFIG_SYS_TEXT_BASE requires