Skip to content
Snippets Groups Projects
  1. Aug 03, 2011
  2. Aug 02, 2011
  3. Aug 01, 2011
  4. Jul 31, 2011
  5. Jul 29, 2011
    • Wolfgang Denk's avatar
      Merge branch 'master' of /home/wd/git/u-boot/custodians · dd620b26
      Wolfgang Denk authored
      * 'master' of /home/wd/git/u-boot/custodians:
        powerpc/8xxx: Remove dependency on <usb.h>
        powerpc/85xx: enable USB2 gadget mode for corenet ds board
        powerpc/85xx: verify the device tree before booting Linux
        MPC8xxx: drop redundant boot messages
        powerpc/85xx: Fix build failure for P1023RDS
        powerpc/p2041rdb: Enable SATA support
        powerpc/85xx: Cleanup handling of PVR detection for e500/e500mc/e5500
        powerpc/85xx: Fix up clock_freq property in CAN node of dts
        85xx: enable FDT support for STX SSA board
        powerpc/85xx: provide 85xx flush_icache for cmd_cache
        powerpc/p2041rdb: Enable backside L2 cache support
        powerpc/85xx: Handle the lack of L2 cache on P2040/P2040E
        powerpc/85xx: Add support for P2041[e] XAUI in SERDES
        powerpc/85xx: Rename P2040 id & SERDES to P2041
        powerpc/85xx: Adding configuration for DCSRCR to enable 32M access
        powerpc/85xx: Fix setting of EPAPR_MAGIC value
      dd620b26
    • Wolfgang Denk's avatar
      Constify getenv(), setenv() and hash code functions · 84b5e802
      Wolfgang Denk authored
      
      This is needed to get rid of build warnings like
      
      main.c:311: warning: passing argument 2 of 'setenv' discards qualifiers from pointer target type
      
      which result from commit 09c2e90c "unify version_string".
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Cc: Andreas Biemann <andreas.devel@googlemail.com>
      84b5e802
    • Wolfgang Denk's avatar
    • Kumar Gala's avatar
      powerpc/8xxx: Remove dependency on <usb.h> · 57567361
      Kumar Gala authored
      
      We used <usb.h> for USB_MAX_DEVICE.  However this requires we actual
      build in support for USB into u-boot (which should not be required for
      device tree fixup).
      
      At this time no FSL SoC that utilizies this code (83xx/85xx) has more
      than 2 USB controllers.  So we replace USB_MAX_DEVICE with a local
      define FSL_MAX_NUM_USB_CTRLS.
      
      If/when a device shows up with more than 2 controllers we can easily
      bump this value or refactor into a proper define per SoC.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      57567361
    • Shaohui Xie's avatar
      powerpc/85xx: enable USB2 gadget mode for corenet ds board · a3a3e7b2
      Shaohui Xie authored
      
      to make USB2 worked in gadget mode, we need to set it's 'dr_mode' to
      'peripheral' in hwconfig, but driver starts scan from 'usb1', it'll break
      out if it cannot find 'usb1', so drop the 'else' clause to make driver scan
      all the 'usbx'.
      
      Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      a3a3e7b2
    • Timur Tabi's avatar
      powerpc/85xx: verify the device tree before booting Linux · 90f89f09
      Timur Tabi authored
      
      Introduce ft_verify_fdt(), a function that is called after the device tree
      has been fixed up, that displays warning messages if there is a mismatch
      between the physical addresses of some devices that U-Boot has configured
      with what the device tree says the addresses are.
      
      This is a particular problem when booting a 36-bit device tree from a
      32-bit U-Boot (or vice versa), because the physical address of CCSR is
      wrong in the device tree.  When the operating system boots, no messages are
      displayed, so the user generally has no idea what's wrong.
      
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      90f89f09
    • Wolfgang Denk's avatar
      MPC8xxx: drop redundant boot messages · 21cd5815
      Wolfgang Denk authored
      
      Current code would print RAM size information like this:
      
      	DRAM:  DDR: 256 MiB (DDR1, 64-bit, CL=2, ECC off)
      
      Turn a number of printf()s into debug() to get rid of the redundant
      "DDR: " string like this:
      
      	DRAM:  256 MiB (DDR1, 64-bit, CL=2, ECC off)
      
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
      Acked-by: default avatarYork Sun <yorksun@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      21cd5815
    • Kumar Gala's avatar
      powerpc/85xx: Fix build failure for P1023RDS · 74d9d523
      Kumar Gala authored
      
      When we added the fman fdt fixup we forgot to fixup the P1023RDS
      platform.  So we would get:
      
      fdt.c: In function 'fdt_fixup_fman_firmware':
      fdt.c:465:15: error: 'CONFIG_SYS_FMAN_FW_LENGTH' undeclared (first use in this function)
      fdt.c:465:15: note: each undeclared identifier is reported only once for each function it appears in
      
      Add the needed #defines in P1023RDS.h to fix this.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      74d9d523
Loading