Skip to content
Snippets Groups Projects
  1. Aug 10, 2008
    • Dirk Behme's avatar
      OneNAND: Remove base address offset usage · aa5ffa16
      Dirk Behme authored
      
      While locally preparing some U-Boot patches for ARM based OMAP3 boards, some
      using OneNAND and some using NAND, we found some differences in OneNAND and
      NAND command address handling.
      
      As this might confuse users (it already confused us), we like to align OneNAND
      and NAND address handling.
      
      The issue is that cmd_onenand.c subtracts the onenand base address from the
      addresses you type into the u-boot command line so, unlike nand, you can't
      use addresses relative to the start of the onenand part e.g. this won't work:
      
      onenand read 82000000 280000 400000
      
      you have to use:
      
      onenand read 82000000 20280000 400000
      
      Looking at recent git, the only board currently using OneNAND is Apollon, and
      for this the OneNAND base address is 0 (apollon.h)
      
      #define	CFG_ONENAND_BASE	0x00000000
      
      so patch below won't break any existing boards and will align OneNAND and NAND
      handling on boards where OneNAND base address is != 0.
      
      Signed-off-by: default avatarSteve Sakoman <sakoman@gmail.com>
      Signed-off-by: default avatarManikandan Pillai <mani.pillai@ti.com>
      Signed-off-by: default avatarDirk Behme <dirk.behme@gmail.com>
      aa5ffa16
    • Kumar Gala's avatar
      mpc85xx: workaround old binutils bug · c1152808
      Kumar Gala authored
      
      The recent change to move the .bss outside of the image gives older
      binutils (ld from eldk4.1/binutils-2.16) some headache:
      
      ppc_85xx-ld: u-boot: Not enough room for program headers (allocated 3, need 4)
      ppc_85xx-ld: final link failed: Bad value
      
      We workaround it by being explicit about the program headers and not
      assigning the .bss to a program header.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      c1152808
  2. Aug 09, 2008
  3. Aug 08, 2008
  4. Aug 07, 2008
  5. Aug 06, 2008
    • Kenneth Johansson's avatar
      mpc5121: Move iopin features from board specific to common files. · 6689484c
      Kenneth Johansson authored
      
      And in the process eliminate some duplicate register defines.
      
      Signed-off-by: default avatarKenneth Johansson <kenneth@southpole.se>
      6689484c
    • John Rigby's avatar
      mpc5121: squash some fdt fixup errors · ef11df6b
      John Rigby authored
      
      On ADS5121 when booting linux the following errors are seen:
          Unable to update property /soc5121@80000000:bus-frequency, err=FDT_ERR_NOTFOUND
          Unable to update property /soc5121@80000000/ethernet@2800:local-mac-address, err=FDT_ERR_NOTFOUND
          Unable to update property /soc5121@80000000/ethernet@2800:address, err=FDT_ERR_NOTFOUND
      
      This is caused by ft_cpu_setup trying to deal with
      both old and new soc node naming.  This patch
      fixes this by being smarter about what to
      fixup.
      
      Also do soc node fixups by compatible instead of by path.
      A new board config called OF_SOC_COMPAT defined
      to be "fsl,mpc5121-immr" replaces the old
      OF_SOC node path that was defined to be "soc@80000000".
      
      Old device trees still work, but the compatiblity
      is conditional on CONFIG_OF_SUPPORT_OLD_DEVICE_TREES
      which is on by default in include/configs/ads5121.h.
      
      Signed-off-by: default avatarJohn Rigby <jrigby@freescale.com>
      ef11df6b
  6. Aug 04, 2008
  7. Aug 03, 2008
  8. Aug 01, 2008
  9. Jul 31, 2008
Loading