Skip to content

Commit f97c79e

Browse files
afzalmamgregkh
authored andcommitted
ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM
[ Upstream commit 8a792e9afbce84a0fdaf213fe42bb97382487094 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8964271 commit f97c79e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

arch/arm/Kconfig-nommu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ config PROCESSOR_ID
3434
used instead of the auto-probing which utilizes the register.
3535

3636
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'
3938
help
4039
The kernel needs to change the hardware exception vectors.
4140
In nommu mode, the hardware exception vectors are normally

0 commit comments

Comments
 (0)