Skip to content
Snippets Groups Projects
  1. Jul 04, 2011
    • Aneesh V's avatar
      arm: minor fixes for cache and mmu handling · e05f0079
      Aneesh V authored
      
      1. make sure that page table setup is not done multiple times
      2. flush_dcache_all() is more appropriate while disabling cache
         than a range flush on the entire memory(flush_cache())
      
         Provide a default implementation for flush_dcache_all()
         for backward compatibility and to avoid build issues.
      
      Signed-off-by: default avatarAneesh V <aneesh@ti.com>
      e05f0079
    • Aneesh V's avatar
      armv7: integrate cache maintenance support · c2dd0d45
      Aneesh V authored
      
      - Enable I-cache on bootup
      - Enable MMU and D-cache immediately after relocation
      	- Do necessary initialization before enabling d-cache and MMU
      - Changes to cleanup_before_linux()
      	- Make changes according to the new framework
      
      Signed-off-by: default avatarAneesh V <aneesh@ti.com>
      c2dd0d45
    • Aneesh V's avatar
      armv7: rename cache related CONFIG flags · e47f2db5
      Aneesh V authored
      
      Replace the cache related CONFIG flags with more meaningful
      names. Following are the changes:
      
      CONFIG_L2_OFF	     -> CONFIG_SYS_L2CACHE_OFF
      CONFIG_SYS_NO_ICACHE -> CONFIG_SYS_ICACHE_OFF
      CONFIG_SYS_NO_DCACHE -> CONFIG_SYS_DCACHE_OFF
      
      Signed-off-by: default avatarAneesh V <aneesh@ti.com>
      V2:
       * Changed CONFIG_L2_OFF -> CONFIG_SYS_NO_L2CACHE
      V4:
       * Changed all three flags to the final names suggested as above
         and accordingly changed the commit message
      e47f2db5
  2. Oct 29, 2010
    • Wolfgang Denk's avatar
      Drop support for CONFIG_SYS_ARM_WITHOUT_RELOC · a9aa3926
      Wolfgang Denk authored
      
      When this define was introduced, the idea was to provide a soft
      migration path for ARM boards to get adapted to the new relocation
      support.  However, other recent changes led to a different
      implementation (ELF relocation), where this no longer works.  By now
      CONFIG_SYS_ARM_WITHOUT_RELOC does not only not help any more, but it
      actually hurts because it obfuscates the actual code by sprinkling it
      with lots of dead and non-working debris.
      
      So let's make a clean cut and drop CONFIG_SYS_ARM_WITHOUT_RELOC.
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Tested-by: default avatarHeiko Schocher <hs@denx.de>
      Tested-by: default avatarReinhard Meyer <u-boot@emk-elektronik.de>
      a9aa3926
  3. Sep 19, 2010
    • Heiko Schocher's avatar
      ARM: add relocation support · f1d2b313
      Heiko Schocher authored
      
      !! This breaks support for all arm boards !!
      
      To compile in old style, you must define
      CONFIG_SYS_ARM_WITHOUT_RELOC or you can compile
      with "CONFIG_SYS_ARM_WITHOUT_RELOC=1 ./MAKEALL board"
      
      !! This define will be removed soon, so convert your
      board to use relocation support
      
      Portions of this work were supported by funding from
      the CE Linux Forum.
      
      Signed-off-by: default avatarHeiko Schocher <hs@denx.de>
      
      Fix boot from NAND for non-ARM systems
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      f1d2b313
    • Heiko Schocher's avatar
      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
  4. Apr 13, 2010
  5. Apr 05, 2009
  6. Oct 18, 2008
  7. Jul 13, 2008
  8. Mar 31, 2006
  9. Sep 24, 2005
  10. Apr 03, 2005
  11. Feb 08, 2004
    • Wolfgang Denk's avatar
      Patch by Anders Larsen, 09 Jan 2004: · f6e20fc6
      Wolfgang Denk authored
      ARM memory layout fixes: the abort-stack is now set up in the
      correct RAM area, and the BSS is zeroed out as it should be.
      
      Furthermore, the magic variables 'armboot_end' and 'armboot_end_data'
      of the linker scripts are replaced by '__bss_start' and '_end',
      resp., which is a further step to eliminate unnecessary differences
      between the implementation of the CPU architectures.
      f6e20fc6
  12. Dec 06, 2003
    • Wolfgang Denk's avatar
      * Patch by Gleb Natapov, 19 Sep 2003: · a8c7c708
      Wolfgang Denk authored
        Move most of the timer interrupt related PPC code to ppc_lib/interrupts.c
      
      * Patch by Anders Larsen, 17 Sep 2003:
        Bring ARM memory layout in sync with the documentation:
        stack and malloc-heap are now located _below_ the U-Boot code
      a8c7c708
  13. Aug 29, 2003
  14. Jul 15, 2003
  15. Sep 22, 2002
  16. Sep 08, 2002
  17. Aug 27, 2002
Loading