1. 28 11月, 2010 4 次提交
    • S
      ppc4xx/NAND: Reduce size of NAND SPL image · c5d02825
      Stefan Roese 提交于
      This is needed for the canyonlands_nand build target. Without it
      the resulting image won't fit into 4k.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Scott Wood <scottwood@freescale.com>
      Acked-by: NScott Wood <scottwood@freescale.com>
      Acked-by: NStefan Roese <sr@denx.de>
      c5d02825
    • W
      ppc4xx: Cleanup for partial linking and --gc-sections · ee8028b7
      Wolfgang Denk 提交于
      This commit adapts 4xx boards for partial linking with --gc-sections.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Tirumala Marri <tmarri@apm.com>
      Cc: David Updegraff <dave@cray.com>
      Cc: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Larry Johnson <lrj@acm.org>
      Cc: Peter De Schrijver <p2@mind.be>
      Cc: Niklaus Giger <niklaus.giger@netstal.com>
      Cc: Daniel Poirot <dan.poirot@windriver.com>
      Acked-by: NStefan Roese <sr@denx.de>
      ee8028b7
    • W
      POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections · c08e5cf7
      Wolfgang Denk 提交于
      The switch from archive libraries to partial linking has introduced a
      number of problems, that are non-trivial to solve.  For example, it is
      no longer possible to include individual object files in the linker
      script as we did before for example in the case of boards with
      embedded environment to fill up the gap caused by the need to align
      the environment on flash erase block boundaries.
      
      The best (but unfortunately not easiest) approach to address this
      problem is to enable -ffunction-sections (and -fdata-sections) so
      we can again (and even in much finer granularity) place certain code
      where we want it.  When doing this step, it seems only consequent to
      also add --gc-sections which has the added benefit of reducing the
      memory footprint of the U-Boot image (both in flash and in RAM).
      
      Unfortunately, this requires changes to a lot of linker scripts.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Kim Phillips <kim.phillips@freescale.com>
      Cc: Andy Fleming <afleming@gmail.com>
      Cc: Kumar Gala <galak@kernel.crashing.org>
      Acked-by: NStefan Roese <sr@denx.de>
      c08e5cf7
    • S
      83xx: Fix NAND_SPL link address · f1c574d4
      Scott Wood 提交于
      Apply the same fix for 83xx as was done for 85xx in commit
      96196a1f.
      
      Without this, NAND SPLs are built with the text base intended for the main
      image, resulting in a broken, very large u-boot-nand.bin.
      
      The block of defines for NAND boot is moved closer to where
      CONFIG_SYS_TEXT_BASE is defined.  We can't directly use
      CONFIG_SYS_NAND_U_BOOT_DST in the definition of CONFIG_SYS_TEXT_BASE because
      autoconf.mk will include the literal text "CONFIG_SYS_NAND_U_BOOT_DST",
      but at least keep them close and point out that they're supposed to be
      the same.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      f1c574d4
  2. 27 11月, 2010 21 次提交
  3. 25 11月, 2010 1 次提交
  4. 20 11月, 2010 14 次提交