Skip to content

Commit 9b79878

Browse files
AlexGhitipalmer-dabbelt
authored andcommitted
riscv: Remove CONFIG_PHYS_RAM_BASE_FIXED
Make the physical RAM base address available for all kernels, not only XIP kernels as it will allow to simplify address conversions macros. Signed-off-by: Alexandre Ghiti <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 8a4102a commit 9b79878

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/riscv/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,8 @@ config STACKPROTECTOR_PER_TASK
490490
def_bool y
491491
depends on STACKPROTECTOR && CC_HAVE_STACKPROTECTOR_TLS
492492

493-
config PHYS_RAM_BASE_FIXED
494-
bool "Explicitly specified physical RAM address"
495-
default n
496-
497493
config PHYS_RAM_BASE
498494
hex "Platform Physical RAM address"
499-
depends on PHYS_RAM_BASE_FIXED
500495
default "0x80000000"
501496
help
502497
This is the physical address of RAM in the system. It has to be
@@ -509,7 +504,6 @@ config XIP_KERNEL
509504
# This prevents XIP from being enabled by all{yes,mod}config, which
510505
# fail to build since XIP doesn't support large kernels.
511506
depends on !COMPILE_TEST
512-
select PHYS_RAM_BASE_FIXED
513507
help
514508
Execute-In-Place allows the kernel to run from non-volatile storage
515509
directly addressable by the CPU, such as NOR flash. This saves RAM

0 commit comments

Comments
 (0)