aboutsummaryrefslogtreecommitdiff
path: root/common/board_r.c
diff options
context:
space:
mode:
authorTom Rini2022-04-06 09:21:25 -0400
committerTom Rini2022-04-25 16:04:05 -0400
commit11232139e399e70641410356ae6b278113d90f16 (patch)
tree9c3dd5ad6eec3fc3af2f9ac6c0e14f99122c4394 /common/board_r.c
parent8cfac237b9814d52c843e939a05fc211ba3906de (diff)
nds32: Remove the architecture
As removal of nds32 has been ack'd for the Linux kernel, remove support here as well. Cc: Rick Chen <rick@andestech.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'common/board_r.c')
-rw-r--r--common/board_r.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 7d0281f5447..ff17720cf3f 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -120,7 +120,7 @@ static int initr_reloc_global_data(void)
{
#ifdef __ARM__
monitor_flash_len = _end - __image_copy_start;
-#elif defined(CONFIG_NDS32) || defined(CONFIG_RISCV)
+#elif defined(CONFIG_RISCV)
monitor_flash_len = (ulong)&_end - (ulong)&_start;
#elif !defined(CONFIG_SANDBOX) && !defined(CONFIG_NIOS2)
monitor_flash_len = (ulong)&__init_end - gd->relocaddr;
@@ -631,8 +631,7 @@ static init_fnc_t init_sequence_r[] = {
#ifdef CONFIG_ADDR_MAP
init_addr_map,
#endif
-#if defined(CONFIG_ARM) || defined(CONFIG_NDS32) || defined(CONFIG_RISCV) || \
- defined(CONFIG_SANDBOX)
+#if defined(CONFIG_ARM) || defined(CONFIG_RISCV) || defined(CONFIG_SANDBOX)
board_init, /* Setup chipselects */
#endif
/*