summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2015-02-03 13:58:17 +0300
committerAlexey Brodkin <abrodkin@synopsys.com>2015-02-09 16:41:20 +0300
commita1dbe57d2d45d311e402c357831bbf5c5157a32c (patch)
treebd507c55bb7d10c92db64397c22675f95e1753ab
parentbcba9742ce39e96b36b8dfc96066ee3a71561bab (diff)
downloadtalos-obmc-uboot-a1dbe57d2d45d311e402c357831bbf5c5157a32c.tar.gz
talos-obmc-uboot-a1dbe57d2d45d311e402c357831bbf5c5157a32c.zip
arc: hard-code CONFIG_ARCH_EARLY_INIT_R in asm/config.h
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>
-rw-r--r--arch/arc/include/asm/config.h1
-rw-r--r--include/configs/arcangel4.h5
-rw-r--r--include/configs/axs101.h5
-rw-r--r--include/configs/tb100.h5
4 files changed, 1 insertions, 15 deletions
diff --git a/arch/arc/include/asm/config.h b/arch/arc/include/asm/config.h
index c1e9b44239..b4e9099fb1 100644
--- a/arch/arc/include/asm/config.h
+++ b/arch/arc/include/asm/config.h
@@ -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
diff --git a/include/configs/arcangel4.h b/include/configs/arcangel4.h
index 003a45d96d..80d6438ba1 100644
--- a/include/configs/arcangel4.h
+++ b/include/configs/arcangel4.h
@@ -13,11 +13,6 @@
#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
/*
- * Board configuration
- */
-#define CONFIG_ARCH_EARLY_INIT_R
-
-/*
* Memory configuration
*/
#define CONFIG_SYS_TEXT_BASE 0x81000000
diff --git a/include/configs/axs101.h b/include/configs/axs101.h
index 4064ed2331..e9a32314fd 100644
--- a/include/configs/axs101.h
+++ b/include/configs/axs101.h
@@ -12,11 +12,6 @@
*/
#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)
diff --git a/include/configs/tb100.h b/include/configs/tb100.h
index c6878fc08e..54eca6f574 100644
--- a/include/configs/tb100.h
+++ b/include/configs/tb100.h
@@ -15,11 +15,6 @@
#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_CLK_FREQ
/*
- * Board configuration
- */
-#define CONFIG_ARCH_EARLY_INIT_R
-
-/*
* Memory configuration
*/
#define CONFIG_SYS_TEXT_BASE 0x84000000
OpenPOWER on IntegriCloud