1. 25 7月, 2015 2 次提交
    • T
      Merge git://git.denx.de/u-boot-usb · 6f4e0506
      Tom Rini 提交于
      6f4e0506
    • R
      usb: ci_udc: fix request allocation when endpoints are disabled · 58d6d139
      Rob Herring 提交于
      The ci_udc driver request allocation assumes that the endpoint descriptor
      pointer is set to retrieve the endpoint number, but that is only true
      when the endpoint is enabled. This results in a NULL ptr dereference
      which for me happens to return 0 value. This causes the EP0 request
      struct to be returned for other endpoints. Some gadget drivers like
      fastboot and USB MS work fine, but ethernet does not.
      
      Really, the ci_udc driver is the oddball here doing this EP0 special
      case handling Stephen added. All the other drivers alloc/free functions
      are pretty much the same with the only variation being the size of the
      private struct. This could all be consolidated to a common function.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Cc: Marek Vasut <marex@denx.de>
      Acked-by: NStephen Warren <swarren@nvidia.com>
      58d6d139
  2. 24 7月, 2015 6 次提交
    • S
      arm: marvell: Increase MAXARGS to 32 · 5a9749ee
      Stefan Roese 提交于
      This makes more complex U-Boot scripts possible.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      5a9749ee
    • S
      arm: mvebu: db-88f6820-gp: Add SDIO/MMC SPL boot support · 7853c508
      Stefan Roese 提交于
      This patch adds the configuration options to boot via SDIO/MMC on the
      Marvell DB-88F6820-GP Armada A38x board. The default boot device
      is still SPI NOR flash.
      
      To enable MMC booting on this board 2 things need to be changes:
      a) Change kwbimage.cfg
         BOOT_FROM   sdio
      b) In the config header select
         #define CONFIG_SPL_BOOT_DEVICE	SPL_BOOT_SDIO_MMC_CARD
      
      The generated image needs to be copied to the first bootable MMC
      partition:
      
      dd if=u-boot-spl.kwb of=/dev/sdX1
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      7853c508
    • S
      spl: spl_mmc: Add option to boot from a MMC partition with offset · 4bfcc54c
      Stefan Roese 提交于
      This patch introduces the option to boot from a MMC card parition with
      an offset. This can be done by using both defines together:
      
      define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION 1
      define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR    ((160 << 10) / 512)
      
      The example above loads the main U-Boot at offset 160KiB from the MMC
      partition 1.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      Cc: Tom Rini <trini@konsulko.com>
      4bfcc54c
    • S
      kwbimage: Rename CONFIG_SYS_SPI_U_BOOT_OFFS to CONFIG_SYS_U_BOOT_OFFS · 7ddf8cfb
      Stefan Roese 提交于
      To use this offset for other boot device (like SDIO/MMC), lets rename
      it to a more generic name. This will be used be the SDIO/MMC SPL boot
      support for the A38x.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      7ddf8cfb
    • S
      kwbimage: Add support for SDIO/MMC boot device selection · 1bbe63c3
      Stefan Roese 提交于
      This patch adds support to select the "sdio" as boot device in the
      kwbimage.cfg file. This line selects this SDIO device:
      
      BOOT_FROM  sdio
      
      Tested on Marvell DB-88F6820-GP board.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      1bbe63c3
    • S
      arm: mvebu: Add SPL SDIO/MMC boot support · 8ed43b96
      Stefan Roese 提交于
      This patch adds basic SDIO/MMC booting support to MVEBU SoC's. Since
      I don't know of a way to test the boot-device upon runtime, this patch
      hardcodes the spl_boot_device instead.
      
      Tested on Marvell DB-88F6820-GP board.
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Dirk Eibach <eibach@gdsys.de>
      8ed43b96
  3. 23 7月, 2015 23 次提交
  4. 22 7月, 2015 9 次提交