Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM

REMAP_VECTORS_TO_RAM depends on DRAM_BASE, but since DRAM_BASE is a
hex, REMAP_VECTORS_TO_RAM could never get enabled. Also depending on
DRAM_BASE is redundant as whenever REMAP_VECTORS_TO_RAM makes itself
available to Kconfig, DRAM_BASE also is available as the Kconfig
gets sourced on !MMU.

Signed-off-by: Afzal Mohammed <afzal.mohd.ma@gmail.com>
Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Afzal Mohammed and committed by
Russell King
8a792e9a 79964a1c

+1 -2
+1 -2
arch/arm/Kconfig-nommu
··· 34 34 used instead of the auto-probing which utilizes the register. 35 35 36 36 config REMAP_VECTORS_TO_RAM 37 - bool 'Install vectors to the beginning of RAM' if DRAM_BASE 38 - depends on DRAM_BASE 37 + bool 'Install vectors to the beginning of RAM' 39 38 help 40 39 The kernel needs to change the hardware exception vectors. 41 40 In nommu mode, the hardware exception vectors are normally