Skip to content
Snippets Groups Projects
  • Heiko Schocher's avatar
    880eff5c
    ARM: cp15: setup mmu and enable dcache · 880eff5c
    Heiko Schocher authored
    
    This has been tested on at91sam9263 and STN8815.
    Again, I didn't check if it has bad effects
    on non-arm926 cores.
    
    Initially I had a "done" bit to only set up page tables
    at the beginning. However, since the aligmnent requirement
    was for the whole object file, this extra integer tool 16kB
    in BSS, so I chose to remove it.
    
    Also, note not all boards use PHYS_SDRAM, but it looks like
    it's the most used name (more than CONFIG_SYS_DRAM_BASE for
    example).
    
    Portions of this work were supported by funding from
    the CE Linux Forum.
    
    Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
    Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
    880eff5c
    History
    ARM: cp15: setup mmu and enable dcache
    Heiko Schocher authored
    
    This has been tested on at91sam9263 and STN8815.
    Again, I didn't check if it has bad effects
    on non-arm926 cores.
    
    Initially I had a "done" bit to only set up page tables
    at the beginning. However, since the aligmnent requirement
    was for the whole object file, this extra integer tool 16kB
    in BSS, so I chose to remove it.
    
    Also, note not all boards use PHYS_SDRAM, but it looks like
    it's the most used name (more than CONFIG_SYS_DRAM_BASE for
    example).
    
    Portions of this work were supported by funding from
    the CE Linux Forum.
    
    Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
    Signed-off-by: default avatarHeiko Schocher <hs@denx.de>