1. 23 5月, 2014 1 次提交
  2. 05 5月, 2014 1 次提交
    • M
      part: header fix · 6b423b75
      Mateusz Zalega 提交于
      Implementation made use of types defined in common.h, even though it
      wasn't #included. It worked in circumstances when .c files included
      every needed header (all).
      Signed-off-by: NMateusz Zalega <m.zalega@samsung.com>
      Cc: Tom Rini <trini@ti.com>
      Cc: Minkyu Kang <mk7.kang@samsung.com>
      6b423b75
  3. 09 1月, 2014 1 次提交
  4. 15 10月, 2013 1 次提交
  5. 24 7月, 2013 1 次提交
  6. 16 7月, 2013 1 次提交
    • F
      Fix ext2/ext4 filesystem accesses beyond 2TiB · 04735e9c
      Frederic Leroy 提交于
      With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
      which is required to represent block numbers for storage devices that
      exceed 2TiB (the block size usually is 512B), e.g. recent hard drives
      
      We now use lbaint_t for partition offset to reflect the lbaint_t change,
      and access partitions beyond or crossing the 2.1TiB limit.
      This required changes to signature of ext4fs_devread(), and type of all
      variables relatives to block sector.
      
      ext2/ext4 fs uses logical block represented by a 32 bit value. Logical
      block is a multiple of device block sector. To avoid overflow problem
      when calling ext4fs_devread(), we need to cast the sector parameter.
      Signed-off-by: NFrédéric Leroy <fredo@starox.org>
      04735e9c
  7. 26 6月, 2013 1 次提交
    • S
      Fix block device accesses beyond 2TiB · ff8fef56
      Sascha Silbe 提交于
      With CONFIG_SYS_64BIT_LBA, lbaint_t gets defined as a 64-bit type,
      which is required to represent block numbers for storage devices that
      exceed 2TiB (the block size usually is 512B), e.g. recent hard drives.
      
      For some obscure reason, the current U-Boot code uses lbaint_t for the
      number of blocks to read (a rather optimistic estimation of how RAM
      sizes will evolve), but not for the starting address. Trying to access
      blocks beyond the 2TiB boundary will simply wrap around and read a
      block within the 0..2TiB range.
      
      We now use lbaint_t for block start addresses, too. This required
      changes to all block drivers as the signature of block_read(),
      block_write() and block_erase() in block_dev_desc_t changed.
      Signed-off-by: NSascha Silbe <t-uboot@infra-silbe.de>
      ff8fef56
  8. 02 5月, 2013 2 次提交
  9. 14 12月, 2012 1 次提交
  10. 26 9月, 2012 5 次提交
    • S
      disk: part_efi: parse and store partition UUID · 894bfbbf
      Stephen Warren 提交于
      Each EFI partition table entry contains a UUID. Extend U-Boot's struct
      disk_partition to be able to store this information, and modify
      get_partition_info_efi() to fill it in.
      
      The implementation of uuid_string() was derived from the Linux kernel,
      tag v3.6-rc4 file lib/vsprintf.c function uuid_string().
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      894bfbbf
    • S
      disk: get_device_and_partition() "auto" partition and cleanup · 10a37fd7
      Stephen Warren 提交于
      Rework get_device_and_partition() to:
      a) Implement a new partition ID of "auto", which requests that U-Boot
         search for the first "bootable" partition, and fall back to the first
         valid partition if none is found. This way, users don't need to
         specify an explicit partition in their commands.
      b) Make use of get_device().
      c) Add parameter to indicate whether returning a whole device is
         acceptable, or whether a partition is mandatory.
      d) Make error-checking of the user's device-/partition-specification
         more complete. In particular, if strtoul() doesn't convert all
         characters, it's an error rather than just ignored.
      
      The resultant device/partition returned by the function will be as
      follows, based on whether the disk has a partition table (ptable) or not,
      and whether the calling command allows the whole device to be returned
      or not.
      
      (D and P are integers, P >= 1)
      
      D
      D:
        No ptable:
          !allow_whole_dev: error
          allow_whole_dev: device D
        ptable:
          device D partition 1
      D:0
        !allow_whole_dev: error
        allow_whole_dev: device D
      D:P
        No ptable: error
        ptable: device D partition P
      D:auto
        No ptable:
          !allow_whole_dev: error
          allow_whole_dev: device D
        ptable:
          first partition in device D with bootable flag set.
          If none, first valid paratition in device D.
      
      Note: In order to review this patch, it's probably easiest to simply
      look at the file contents post-application, rather than reading the
      patch itself.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      [swarren: Rob implemented scanning for bootable partitions. I fixed a
      couple of issues there, switched the syntax to ":auto", added the
      error-checking rework, and ":0" syntax for the whole device]
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      10a37fd7
    • S
      disk: introduce get_device() · 2023e608
      Stephen Warren 提交于
      This patch introduces function get_device(). This looks up a
      block_dev_desc_t from an interface name (e.g. mmc) and device number
      (e.g. 0). This function is essentially the non-partition-specific
      prefix of get_device_and_partition().
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      2023e608
    • R
      disk/part: introduce get_device_and_partition · 99d2c205
      Rob Herring 提交于
      All block device related commands (scsiboot, fatload, ext2ls, etc.) have
      simliar duplicated device and partition parsing and selection code. This
      adds a common function to replace various implementations.
      
      The new function has an enhancement over current versions. If no device
      or partition is specified on the command line, the bootdevice env variable
      will be used (scsiboot does this).
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      99d2c205
    • R
      disk/part: check bootable flag for DOS partitions · 40e0e568
      Rob Herring 提交于
      Determine which partitions are bootable/active. In the partition listing,
      print "Boot" for partitions with the bootable/active flag set.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      40e0e568
  11. 22 5月, 2012 1 次提交
  12. 26 7月, 2011 1 次提交
  13. 16 7月, 2011 1 次提交
  14. 04 4月, 2009 1 次提交
    • U
      mflash: Initial mflash support · 75eb82ec
      unsik Kim 提交于
      Mflash is fusion memory device mainly targeted consumer eletronic and
      mobile phone.
      Internally, it have nand flash and other hardware logics and supports
      some different operation (ATA, IO, XIP) modes.
      
      IO mode is custom mode for the host that doesn't have IDE interface.
      (Many mobile targeted SoC doesn't have IDE bus)
      
      This driver support mflash IO mode.
      
      Followings are brief descriptions about IO mode.
      
      1. IO mode based on ATA protocol and uses some custom command. (read
         confirm, write confirm)
      2. IO mode uses SRAM bus interface.
      Signed-off-by: Nunsik Kim <donari75@gmail.com>
      75eb82ec
  15. 19 10月, 2008 1 次提交
  16. 27 3月, 2008 2 次提交
  17. 04 2月, 2008 1 次提交
    • S
      MMC for PXA 27X (resubmit) · c95219fa
      stefano babic 提交于
      MMC support for X_Scale PXA is broken and does not work.
      Mainly, the mmc_init() function cannot recognize current SD/MMC cards.
      There were already some patches around the world but none of them was
      merged into the official u-boot tree.
      
      This patch makes order fixing this issue. Resubmit after code cleanup.
      
      Applied and tested on PXA 270 (TrizepsIV module).
      Signed-off-by: NStefano Babic <sbabic@denx.de>
      c95219fa
  18. 23 10月, 2007 1 次提交
    • M
      fix pxa255_idp board · 2a4741d9
      Marcel Ziswiler 提交于
      The pxa255_idp being an old unmaintained board showed several issues:
      1. CONFIG_INIT_CRITICAL was still defined.
      2. Neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION was defined.
      3. Symbol flash_addr was undeclared.
      4. The boards lowlevel_init function was still called memsetup.
      5. The TEXT_BASE was still 0xa3000000 rather than 0xa3080000.
      6. Using -march=armv5 instead of -march=armv5te resulted in lots of
      'target CPU does not support interworking' warnings on recent compilers.
      7. The PXA's serial driver redefined FFUART, BTUART and STUART used as
      indexes rather than the register definitions from the pxa-regs header
      file. Renamed them to FFUART_INDEX, BTUART_INDEX and STUART_INDEX to
      avoid any ambiguities.
      8. There were several redefinition warnings concerning ICMR, OSMR3,
      OSCR, OWER, OIER, RCSR and CCCR in the PXA's assembly start file.
      9. The board configuration file was rather outdated.
      10. The part header file defined the vendor, product and revision arrays
      as unsigned chars instead of just chars in the block_dev_desc_t
      structure.
      Signed-off-by: NMarcel Ziswiler <marcel@ziswiler.com>
      2a4741d9
  19. 20 2月, 2007 3 次提交
  20. 19 4月, 2004 1 次提交
    • W
      * Cleanup, minor fixes · 6e592385
      wdenk 提交于
      * Patch by Rune Torgersen, 16 Apr 2004:
        LBA48 fixes
      
      * Patches by Pantelis Antoniou, 16 Apr 2004:
        - Fix some compile problems;
          add "once" functionality for the netretry variable
      6e592385
  21. 17 3月, 2004 1 次提交
  22. 15 3月, 2004 1 次提交
  23. 11 9月, 2003 1 次提交
    • W
      * Patches by Denis Peter, 9 Sep 2003: · 7205e407
      wdenk 提交于
        add FAT support for IDE, SCSI and USB
      
      * Patches by Gleb Natapov, 2 Sep 2003:
        - cleanup of POST code for unsupported architectures
        - MPC824x locks way0 of data cache for use as initial RAM;
          this patch unlocks it after relocation to RAM and invalidates
          the locked entries.
      
      * Patch by Gleb Natapov, 30 Aug 2003:
        new I2C driver for mpc107 bridge. Now works from flash.
      
      * Patch by Dave Ellis, 11 Aug 2003:
        - JFFS2: fix typo in common/cmd_jffs2.c
        - JFFS2: fix CFG_JFFS2_SORT_FRAGMENTS option
        - JFFS2: remove node version 0 warning
        - JFFS2: accept JFFS2 PADDING nodes
        - SXNI855T: add AM29LV800 support
        - SXNI855T: move environment from EEPROM to flash
        - SXNI855T: boot from JFFS2 in NOR or NAND flash
      
      * Patch by Bill Hargen, 11 Aug 2003:
        fixes for I2C on MPC8240
        - fix i2c_write routine
        - fix iprobe command
        - eliminates use of global variables, plus dead code, cleanup.
      7205e407
  24. 30 6月, 2003 1 次提交
  25. 28 6月, 2003 1 次提交
    • W
      * Code cleanup: · 8bde7f77
      wdenk 提交于
        - remove trailing white space, trailing empty lines, C++ comments, etc.
        - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c)
      
      * Patches by Kenneth Johansson, 25 Jun 2003:
        - major rework of command structure
          (work done mostly by Michal Cendrowski and Joakim Kristiansen)
      8bde7f77
  26. 19 11月, 2002 1 次提交
    • W
      * Patch by Thomas Frieden, 13 Nov 2002: · c7de829c
      wdenk 提交于
        Add code for AmigaOne board
        (preliminary merge to U-Boot, still WIP)
      
      * Patch by Jon Diekema, 12 Nov 2002:
        - Adding URL for IEEE OUI lookup
        - Making the autoboot #defines dependent on CONFIG_AUTOBOOT_KEYED
          being defined.
        - In the CONFIG_EXTRA_ENV_SETTINGS #define, the root-on-initrd and
          root-on-nfs macros are designed to switch how the default boot
          method gets defined.
      c7de829c
  27. 09 3月, 2002 1 次提交