• Masahiro Yamada's avatar
    ARM: uniphier: create early page table at run-time · 4b50369f
    Masahiro Yamada authored
    
    
    UniPhier SoCs are not equipped with dedicated on-chip SRAM.  Instead,
    locked outer cache is used as RAM area during the early boot stage
    where DRAM is not ready yet.  This effectively means MMU must be
    always enabled while we are in SPL.
    
    Currently, the SPL image for UniPhier SoCs contains the page table
    statically defined at compile time.  It has been a burden because the
    16KB page table occupies a quarter memory footprint of the 64KB SPL
    image.
    
    Finally, there is no more room to implement new features in SPL.
    Setting aside the NOR boot mode, this issue can be solved by creating
    the page table onto RAM at run time.
    
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    4b50369f