1. 05 Nov, 2009 1 commit
  2. 16 Oct, 2009 1 commit
  3. 03 Oct, 2009 1 commit
    • Peter Tyser's avatar
      ppc: Enable full relocation to RAM · 85829017
      Peter Tyser authored
      The following changes allow U-Boot to fully relocate from flash to
       - Remove linker scripts' .fixup sections from the .text section
       - Add -mrelocatable to PLATFORM_RELFLAGS for all boards
       - Define CONFIG_RELOC_FIXUP_WORKS for all boards
      Previously, U-Boot would partially relocate, but statically initialized
      pointers needed to be manually relocated.
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
  4. 28 Aug, 2009 3 commits
  5. 22 Jul, 2009 1 commit
  6. 04 Apr, 2009 2 commits
  7. 01 Apr, 2009 2 commits
    • Kumar Gala's avatar
      86xx: Cleanup MP support · 7649a590
      Kumar Gala authored
      * Use CONFIG_MP instead of CONFIG_NUM_CPUS to match 85xx
      * Introduce determine_mp_bootpg() helper.  We'll need this to address a
        bug introduced in v2009.03 with 86xx MP booting.  We have to make sure
        to reserve the region of memory used for the MP bootpg() so other
        u-boot code doesn't use it.
      * Added dummy versions of cpu_reset(), cpu_status() & cpu_release() to
        allow cmd_mp.c to build and work. In the future we should look at
        implementing all these functions. This could be common w/85xx if we
        use spin tables on 86xx.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    • Becky Bruce's avatar
      mpc8641hpcn/sbc8641d: Add missing board_lmb_reserves · f6ef8b7a
      Becky Bruce authored
      We're missing the board_lmb_reserve definitions that allow
      cpu_mp_lmb_reserve to be called; this means that Linux
      is free to reallocate reserved pages.  Linux currently boots
      because we're getting lucky - the page we've reserved is
      high enough in memory that it isn't allocated by Linux
      while we still need it to be in existence.
      Signed-off-by: default avatarBecky Bruce <beckyb@kernel.crashing.org>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
  8. 20 Mar, 2009 1 commit
    • Trent Piepho's avatar
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho authored
      A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
      which needs to be added the the linker script.  Instead of just adding this
      one section, we use a wildcard ".rodata*" to get all rodata linker section
      gcc has now and might add in the future.
      However, '*(.rodata*)' by itself will result in sub-optimal section
      ordering.  The sections will be sorted by object file, which causes extra
      padding between the unaligned rodata.str.1.1 of one object file and the
      aligned rodata of the next object file.  This is easy to fix by using the
      SORT_BY_ALIGNMENT command.
      This patch has not be tested one most of the boards modified.  Some boards
      have a linker script that looks something like this:
      . = ALIGN(16);
      I change this to:
      . = ALIGN(16);
      This means the start of rodata will no longer be 16 bytes aligned.
      However, the boundary between text and rodata/eh_frame is still aligned to
      16 bytes, which is what I think the real purpose of the ALIGN call is.
      Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
  9. 17 Feb, 2009 1 commit
    • Peter Tyser's avatar
      86xx: Reset update · 4ef630df
      Peter Tyser authored
      Update the 86xx reset sequence to try executing a board-specific reset
      function.  If the board-specific reset is not implemented or does not
      succeed, then assert #HRESET_REQ.  Using #HRESET_REQ is a more standard
      reset procedure than the previous method and allows all board
      peripherals to be reset if needed.
      Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
  10. 13 Jan, 2009 1 commit
  11. 18 Nov, 2008 1 commit
  12. 02 Nov, 2008 1 commit
  13. 30 Oct, 2008 1 commit
  14. 24 Oct, 2008 1 commit
  15. 18 Oct, 2008 2 commits
  16. 27 Aug, 2008 1 commit
  17. 02 Jul, 2008 1 commit
  18. 12 Jun, 2008 1 commit
    • Becky Bruce's avatar
      Change initdram() return type to phys_size_t · 9973e3c6
      Becky Bruce authored
      This patch changes the return type of initdram() from long int to phys_size_t.
      This is required for a couple of reasons: long int limits the amount of dram
      to 2GB, and u-boot in general is moving over to phys_size_t to represent the
      size of physical memory.  phys_size_t is defined as an unsigned long on almost
      all current platforms.
      This patch *only* changes the return type of the initdram function (in
      include/common.h, as well as in each board's implementation of initdram).  It
      does not actually modify the code inside the function on any of the platforms;
      platforms which wish to support more than 2GB of DRAM will need to modify
      their initdram() function code.
      Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
      Signed-off-by: default avatarBecky Bruce <becky.bruce@freescale.com>
  19. 11 Jun, 2008 1 commit
  20. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
  21. 29 Apr, 2008 1 commit
  22. 04 Mar, 2008 1 commit
  23. 25 Feb, 2008 1 commit
  24. 18 Feb, 2008 1 commit
    • Jon Loeliger's avatar
      86xx: Convert sbc8641d to use libfdt. · 13f5433f
      Jon Loeliger authored
      This is the proper fix for a missing closing brace in the function
      ft_cpu_setup() noticed by joe.hamman <at> embeddedspecialties.com.
      The ft_cpu_setup() function in mpc8641hpcn.c should have been
      removed earlier as it was under the obsolete CONFIG_OF_FLAT_TREE,
      but was missed.  Only, the sbc8641d was nominally still using it.
      It all got ripped out, and the funcality that was in ft_board_setup()
      was refactored to remove the CPU portions into the new file
      cpu/mpc86xx/fdt.c instead.  Make sbc8641d use this now.
      Based loosely on an original patch from joe.hamman@embeddedspecialties.com
      Signed-off-by: default avatarJon Loeliger <jdl@freescale.com>
  25. 24 Jan, 2008 2 commits
  26. 12 Jan, 2008 1 commit
    • Wolfgang Denk's avatar
      Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections · 64134f01
      Wolfgang Denk authored
      With recent toolchain versions, some boards would not build because
      or errors like this one (here for ocotea board when building with
      ELDK 4.2 beta):
      ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab]
      For many boards, the .bss section is big enough that it wraps around
      at the end of the address space (0xFFFFFFFF), so the problem will not
      be visible unless you use a 64 bit tool chain for development. On
      some boards however, changes to the code size (due to different
      optimizations) we bail out with section overlaps like above.
      The fix is to add the NOLOAD attribute to the .bss and .sbss
      sections, telling the linker that .bss does not consume any space in
      the image.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
  27. 13 Aug, 2007 1 commit
  28. 10 Aug, 2007 1 commit