All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 09/12] arc: hard-code CONFIG_ARCH_EARLY_INIT_R in asm/config.h
Date: Tue,  3 Feb 2015 13:58:17 +0300	[thread overview]
Message-ID: <1422961100-1618-10-git-send-email-abrodkin@synopsys.com> (raw)
In-Reply-To: <1422961100-1618-1-git-send-email-abrodkin@synopsys.com>

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 | 1 +
 include/configs/arcangel4.h   | 5 -----
 include/configs/axs101.h      | 5 -----
 include/configs/tb100.h       | 5 -----
 4 files changed, 1 insertion(+), 15 deletions(-)

diff --git a/arch/arc/include/asm/config.h b/arch/arc/include/asm/config.h
index c1e9b44..b4e9099 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 003a45d..80d6438 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 4064ed2..e9a3231 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 c6878fc..54eca6f 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
-- 
2.1.0

  parent reply	other threads:[~2015-02-03 10:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 10:58 [U-Boot] [PATCH 00/12] ARC: more improvements Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 01/12] arc: memcmp - fix zero-delay loop utilization Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 02/12] arc: remove CPU hard-coded selection from board description in include/configs Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 03/12] arc: add more flavours of ARC700 series CPU Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 04/12] arc: define and use PTAG AUX regs for MMUv3 only Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 05/12] arc: select cache settings via menuconfig Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 06/12] arc: add selection of endianess in Kconfig Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 07/12] arc: hard-code CONFIG_SYS_GENERIC_BOARD into asm/config.h Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 08/12] arc: get rid of useless CONFIG_SKIP_LOWLEVEL_INIT Alexey Brodkin
2015-02-03 10:58 ` Alexey Brodkin [this message]
2015-02-03 10:58 ` [U-Boot] [PATCH 10/12] arc: move SYS_MONITOR_BASE setup in Konfig Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 11/12] arc: move CPU flags selection to the main "config.mk" Alexey Brodkin
2015-02-03 10:58 ` [U-Boot] [PATCH 12/12] arc: build libgcc in U-Boot Alexey Brodkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422961100-1618-10-git-send-email-abrodkin@synopsys.com \
    --to=alexey.brodkin@synopsys.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.