mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 09:22:37 +00:00
c760fc1997
The high page vector (0xFFFF0000) does not supported in nommu mode. This patch allows the vectors to be 0x00000000 or the begining of DRAM in nommu mode. Signed-off-by: Hyok S. Choi <hyok.choi@samsung.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
45 lines
1.3 KiB
Plaintext
45 lines
1.3 KiB
Plaintext
#
|
|
# Kconfig for uClinux(non-paged MM) depend configurations
|
|
# Hyok S. Choi <hyok.choi@samsung.com>
|
|
#
|
|
|
|
config SET_MEM_PARAM
|
|
bool "Set flash/sdram size and base addr"
|
|
help
|
|
Say Y to manually set the base addresses and sizes.
|
|
otherwise, the default values are assigned.
|
|
|
|
config DRAM_BASE
|
|
hex '(S)DRAM Base Address' if SET_MEM_PARAM
|
|
default 0x00800000
|
|
|
|
config DRAM_SIZE
|
|
hex '(S)DRAM SIZE' if SET_MEM_PARAM
|
|
default 0x00800000
|
|
|
|
config FLASH_MEM_BASE
|
|
hex 'FLASH Base Address' if SET_MEM_PARAM
|
|
default 0x00400000
|
|
|
|
config FLASH_SIZE
|
|
hex 'FLASH Size' if SET_MEM_PARAM
|
|
default 0x00400000
|
|
|
|
config REMAP_VECTORS_TO_RAM
|
|
bool 'Install vectors to the begining of RAM' if DRAM_BASE
|
|
depends on DRAM_BASE
|
|
help
|
|
The kernel needs to change the hardware exception vectors.
|
|
In nommu mode, the hardware exception vectors are normally
|
|
placed at address 0x00000000. However, this region may be
|
|
occupied by read-only memory depending on H/W design.
|
|
|
|
If the region contains read-write memory, say 'n' here.
|
|
|
|
If your CPU provides a remap facility which allows the exception
|
|
vectors to be mapped to writable memory, say 'n' here.
|
|
|
|
Otherwise, say 'y' here. In this case, the kernel will require
|
|
external support to redirect the hardware exception vectors to
|
|
the writable versions located at DRAM_BASE.
|