From df6c4e43abbe8a24d8ce4df3c4c5f2a3a3eba143 Mon Sep 17 00:00:00 2001 From: Yoshinori Sato Date: Fri, 28 Jan 2022 21:30:50 +0900 Subject: [PATCH] rx: reduce memory config Signed-off-by: Yoshinori Sato --- arch/rx/Kconfig | 11 ++++------- arch/rx/kernel/vmlinux.lds.S | 6 ------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/arch/rx/Kconfig b/arch/rx/Kconfig index d9baaaac7060..ce5ef878c116 100644 --- a/arch/rx/Kconfig +++ b/arch/rx/Kconfig @@ -159,16 +159,13 @@ config RX_ICUA config CPU_LITTLE_ENDIAN def_bool y -menu "memory map" config RAMSTART - hex "RAM start address" -config RAMEND - hex "RAM end address" -config INITIAL_STACK - hex "Initial stack address" + hex + default 0x01000000 if RX_QEMU + config BOOT_LINK_OFFSET hex "Link offset of zImage" -endmenu + default 0x00800000 endmenu diff --git a/arch/rx/kernel/vmlinux.lds.S b/arch/rx/kernel/vmlinux.lds.S index d042b87af8c2..19a7506a2549 100644 --- a/arch/rx/kernel/vmlinux.lds.S +++ b/arch/rx/kernel/vmlinux.lds.S @@ -6,11 +6,6 @@ #define EXCEPTION_FIXED 0xffffff80 RAMTOP = CONFIG_RAMSTART; -RAMSIZE = CONFIG_RAMEND - CONFIG_RAMSTART; - -#if defined(CONFIG_RX_GDB_SIM) -/*INPUT(romfs.o)*/ -#endif jiffies = jiffies_64; @@ -52,7 +47,6 @@ SECTIONS _ebss = .; /* uClinux MTD sucks */ _end = . ; _ramstart = .; - . = RAMTOP + RAMSIZE; _ramend = .; DISCARDS } -- 2.11.0