arc: hard-code CONFIG_ARCH_EARLY_INIT_R in asm/config.h
authorAlexey Brodkin <abrodkin@synopsys.com>
Tue, 3 Feb 2015 10:58:17 +0000 (13:58 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Mon, 9 Feb 2015 13:41:20 +0000 (16:41 +0300)
Common arch_early_init_r() is used in "arc/lib/cpu.c" for all ARC boards
so there's no sense in separate per-board definitions.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/include/asm/config.h
include/configs/arcangel4.h
include/configs/axs101.h
include/configs/tb100.h

index c1e9b44239cc8ee0beaddfeab81730bc62868aa9..b4e9099fb165ec14b3815bb062604428c44702f0 100644 (file)
@@ -10,6 +10,7 @@
 #define CONFIG_SYS_GENERIC_BOARD
 #define CONFIG_SYS_GENERIC_GLOBAL_DATA
 #define CONFIG_SYS_BOOT_RAMDISK_HIGH
+#define CONFIG_ARCH_EARLY_INIT_R
 
 #define CONFIG_LMB
 
index 003a45d96d503fe99e5d07983b5b17bbf514eb13..80d6438ba152161be4ec708ceb9f8bea7193022f 100644 (file)
  */
 #define CONFIG_SYS_TIMER_RATE          CONFIG_SYS_CLK_FREQ
 
-/*
- * Board configuration
- */
-#define CONFIG_ARCH_EARLY_INIT_R
-
 /*
  * Memory configuration
  */
index 4064ed23315837dbfbfd5288bc2018e8f4eb64da..e9a32314fd32bde07099e9ad965b6b4c2eb13d59 100644 (file)
  */
 #define CONFIG_SYS_TIMER_RATE          CONFIG_SYS_CLK_FREQ
 
-/*
- * Board configuration
- */
-#define CONFIG_ARCH_EARLY_INIT_R
-
 #define ARC_FPGA_PERIPHERAL_BASE       0xE0000000
 #define ARC_APB_PERIPHERAL_BASE                0xF0000000
 #define ARC_DWMMC_BASE                 (ARC_FPGA_PERIPHERAL_BASE + 0x15000)
index c6878fc08e1f0e8eb0f7ccd434cbad002b97cd40..54eca6f5746b383fd60ca681862f69b238aba9b9 100644 (file)
  */
 #define CONFIG_SYS_TIMER_RATE          CONFIG_SYS_CLK_FREQ
 
-/*
- * Board configuration
- */
-#define CONFIG_ARCH_EARLY_INIT_R
-
 /*
  * Memory configuration
  */