@@ -9,4 +9,6 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "armadillo-800eva"
+config SYS_TEXT_BASE
+ default 0xE80C0000
endif
@@ -9,4 +9,7 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "kzm9g"
+config SYS_TEXT_BASE
+ default 0x00000000
+
endif
@@ -9,6 +9,10 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "alt"
+config SYS_TEXT_BASE
+ default 0x70000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE6304000
+
config R8A7794_ETHERNET_B
bool "Use ethernet B function"
depends on TARGET_ALT
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "blanche"
+config SYS_TEXT_BASE
+ default 0x00000000 if MTD_NOR_FLASH
+ default 0x40000000
+
endif
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "gose"
+config SYS_TEXT_BASE
+ default 0x70000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE6304000
+
endif
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "koelsch"
+config SYS_TEXT_BASE
+ default 0x70000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE6304000
+
endif
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "lager"
+config SYS_TEXT_BASE
+ default 0xB0000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE8080000
+
endif
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "porter"
+config SYS_TEXT_BASE
+ default 0x70000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE6304000
+
endif
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "silk"
+config SYS_TEXT_BASE
+ default 0x70000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE6304000
+
endif
@@ -9,4 +9,8 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "stout"
+config SYS_TEXT_BASE
+ default 0xB0000000 if RMOBILE_EXTRAM_BOOT
+ default 0xE8080000
+
endif
@@ -15,12 +15,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0x70000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE6304000
-#endif
-
#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0x7003FFFC
#else
@@ -62,7 +62,6 @@
#define CONFIG_SYS_MONITOR_LEN (256 * 1024)
#define CONFIG_SYS_MALLOC_LEN (1 * 1024 * 1024)
#define CONFIG_SYS_BOOTMAPSZ (8 * 1024 * 1024)
-#define CONFIG_SYS_TEXT_BASE 0xE80C0000
/* FLASH */
#define CONFIG_SYS_FLASH_CFI
@@ -38,12 +38,10 @@
/* FLASH */
#if !defined(CONFIG_MTD_NOR_FLASH)
-#define CONFIG_SYS_TEXT_BASE 0x40000000
#define CONFIG_SPI
#define CONFIG_SH_QSPI
#define CONFIG_SH_QSPI_BASE 0xE6B10000
#else
-#define CONFIG_SYS_TEXT_BASE 0x00000000
#define CONFIG_SYS_FLASH_CFI
#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT
#define CONFIG_FLASH_CFI_DRIVER
@@ -14,12 +14,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0x70000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE6304000
-#endif
-
/* STACK */
#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0x7003FFFC
@@ -14,12 +14,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0x70000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE6304000
-#endif
-
/* STACK */
#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0x7003FFFC
@@ -67,7 +67,6 @@
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128 * 1024)
#define CONFIG_SYS_BOOTMAPSZ (8 * 1024 * 1024)
-#define CONFIG_SYS_TEXT_BASE 0x00000000
#define CONFIG_STANDALONE_LOAD_ADDR 0x41000000
/* FLASH */
@@ -15,12 +15,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0xB0000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE8080000
-#endif
-
/* STACK */
#if defined(CONFIGF_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0xB003FFFC
@@ -16,12 +16,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0x70000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE6304000
-#endif
-
#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0x7003FFFC
#else
@@ -16,12 +16,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0x70000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE6304000
-#endif
-
#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0x7003FFFC
#else
@@ -17,12 +17,6 @@
#include "rcar-gen2-common.h"
-#if defined(CONFIG_ARCH_RMOBILE_EXTRAM_BOOT)
-#define CONFIG_SYS_TEXT_BASE 0xB0000000
-#else
-#define CONFIG_SYS_TEXT_BASE 0xE8080000
-#endif
-
/* STACK */
#if defined(CONFIGF_RMOBILE_EXTRAM_BOOT)
#define CONFIG_SYS_INIT_SP_ADDR 0xB003FFFC
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- board/atmark-techno/armadillo-800eva/Kconfig | 2 ++ board/kmc/kzm9g/Kconfig | 3 +++ board/renesas/alt/Kconfig | 4 ++++ board/renesas/blanche/Kconfig | 4 ++++ board/renesas/gose/Kconfig | 4 ++++ board/renesas/koelsch/Kconfig | 4 ++++ board/renesas/lager/Kconfig | 4 ++++ board/renesas/porter/Kconfig | 4 ++++ board/renesas/silk/Kconfig | 4 ++++ board/renesas/stout/Kconfig | 4 ++++ include/configs/alt.h | 6 ------ include/configs/armadillo-800eva.h | 1 - include/configs/blanche.h | 2 -- include/configs/gose.h | 6 ------ include/configs/koelsch.h | 6 ------ include/configs/kzm9g.h | 1 - include/configs/lager.h | 6 ------ include/configs/porter.h | 6 ------ include/configs/silk.h | 6 ------ include/configs/stout.h | 6 ------ 20 files changed, 37 insertions(+), 46 deletions(-)