Skip to content
Snippets Groups Projects
  1. Jul 04, 2010
  2. Jul 01, 2010
    • Wolfgang Wegner's avatar
      add redundant environment for env_sf.c · 7319bcaf
      Wolfgang Wegner authored
      
      This patch adds redundant environment for environment in SPI flash.
      I took env_flash.c as an example and slightly modified it. Apart
      from adapting things to SF, I also slightly changed the decision
      logic to use area 2 as a default in case the flags are wrong because
      not having a default path worried me.
      
      I did not add a section for CONFIG_ENV_IS_IN_SPI_FLASH in environment.h
      because I did not understand if this is desired and/or needed.
      So to use the feature, one has to set CONFIG_ENV_OFFSET_REDUND _and_
      CONFIG_SYS_REDUNDAND_ENVIRONMENT.
      
      I checked it by powering off my board several times during flash
      erase or write, because I do not know if there are other stress
      test scenarios.
      
      Signed-off-by: default avatarWolfgang Wegner <w.wegner@astro-kom.de>
      Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
      7319bcaf
  3. Jun 29, 2010
  4. Jun 23, 2010
  5. May 30, 2010
  6. May 28, 2010
  7. May 21, 2010
  8. May 12, 2010
    • York Sun's avatar
      Enabled support for Rev 1.3 SPD for DDR2 DIMMs · bcb6c2bb
      York Sun authored
      
      SPD has minor change from Rev 1.2 to 1.3. This patch enables Rev 1.3.
      The difference has ben examined and the code is compatible.
      Speed bins is not verified on hardware for CL7 at this moment.
      
      This patch also enables SPD Rev 1.x where x is up to "F". According to SPD
      spec, the lower nibble is optionally used to determine which additinal bytes
      or attribute bits have been defined. Software can safely use defaults. However,
      the upper nibble should always be checked.
      
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      bcb6c2bb
  9. May 06, 2010
  10. May 05, 2010
  11. Apr 30, 2010
  12. Apr 28, 2010
  13. Apr 24, 2010
    • Anatolij Gustschin's avatar
      mpc512x: add multi serial PSC support · e3b28e67
      Anatolij Gustschin authored
      
      Extend mpc512x serial driver to support multiple PSC ports.
      
      Subsequent patches for PDM360NG board support make use of this
      functionality by defining CONFIG_SERIAL_MULTI in the board config
      file. Additionally the used PSC devices are specified by defining
      e.g. CONFIG_SYS_PSC1, CONFIG_SYS_PSC4 and CONFIG_SYS_PSC6.
      
      Support for PSC devices other than 1, 3, 4 and 6 is not added
      by this patch because these aren't used currently. In the future
      it can be easily added using DECLARE_PSC_SERIAL_FUNCTIONS(N) and
      INIT_PSC_SERIAL_STRUCTURE(N) macros in cpu/mpc512x/serial.c.
      Additionally you have to add code for registering added
      devices in serial_initialize() in common/serial.c.
      
      Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
      e3b28e67
  14. Apr 21, 2010
  15. Apr 10, 2010
  16. Apr 09, 2010
  17. Apr 08, 2010
    • Kim B. Heino's avatar
      USB storage probe · fac71cc4
      Kim B. Heino authored
      
      While debugging one ill behaving USB device I found two bugs in USB
      storage probe.
      
      usb_stor_get_info() returns -1 (error), 0 (skip) or 1 (ok). First part
      of this patch fixes error case.
      
      Second part fixes usb_inquiry()'s retry counter handling. Original code
      had retry = -1 on error case, not retry = 0 as checked in the next line.
      
      Signed-off-by: default avatarKim B. Heino <Kim.Heino@bluegiga.com>
      fac71cc4
    • Kim B. Heino's avatar
      USB storage count · aaad108b
      Kim B. Heino authored
      
      Here's another USB storage patch. Currently U-Boot handles storage
      devices #0 - #4 as valid devices, even if there is none connected. This
      patch fixes usb_stor_get_dev() to check detected device count instead
      of MAX-define.
      
      This is very important for ill behaving devices. usb_dev_desc[] can be
      partially initialized if device probe fails.
      
      After fixing get_dev() it was easy to fix "usb part" etc commands.
      Previously it outputed "Unknown partition table" five times, now it's
      "no USB devices available".
      
      Signed-off-by: default avatarKim B. Heino <Kim.Heino@bluegiga.com>
      aaad108b
  18. Apr 07, 2010
  19. Mar 29, 2010
Loading