lkml.org 
[lkml]   [2016]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 1/2] ARM: nommu: allow enabling REMAP_VECTORS_TO_RAM
    From
    Date
    On 11/12/16 13:11, Afzal Mohammed wrote:
    > 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>
    > ---
    > arch/arm/Kconfig-nommu | 3 +--
    > 1 file changed, 1 insertion(+), 2 deletions(-)
    >
    > diff --git a/arch/arm/Kconfig-nommu b/arch/arm/Kconfig-nommu
    > index aed66d5df7f1..b7576349528c 100644
    > --- a/arch/arm/Kconfig-nommu
    > +++ b/arch/arm/Kconfig-nommu
    > @@ -34,8 +34,7 @@ config PROCESSOR_ID
    > used instead of the auto-probing which utilizes the register.
    >
    > config REMAP_VECTORS_TO_RAM
    > - bool 'Install vectors to the beginning of RAM' if DRAM_BASE
    > - depends on DRAM_BASE
    > + bool 'Install vectors to the beginning of RAM'
    > help
    > The kernel needs to change the hardware exception vectors.
    > In nommu mode, the hardware exception vectors are normally
    >

    I have similar change in my local tree, so FWIW:

    Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com>

    \
     
     \ /
      Last update: 2016-12-13 10:18    [W:6.195 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site