1. 01 Apr, 2016 1 commit
    • Eric Nelson's avatar
      drivers: block: add block device cache · e40cf34a
      Eric Nelson authored
      Add a block device cache to speed up repeated reads of block devices by
      various filesystems.
      This small amount of cache can dramatically speed up filesystem
      operations by skipping repeated reads of common areas of a block
      device (typically directory structures).
      This has shown to have some benefit on FAT filesystem operations of
      loading a kernel and RAM disk, but more dramatic benefits on ext4
      filesystems when the kernel and/or RAM disk are spread across
      multiple extent header structures as described in commit fc0fc50f
      The cache is implemented through a minimal list (block_cache) maintained
      in most-recently-used order and count of the current number of entries
      (cache_count). It uses a maximum block count setting to prevent copies
      of large block reads and an upper bound on the number of cached areas.
      The maximum number of entries in the cache defaults to 32 and the maximum
      number of blocks per cache entry has a default of 2, which has shown to
      produce the best results on testing of ext4 and FAT filesystems.
      The 'blkcache' command (enabled through CONFIG_CMD_BLOCK_CACHE) allows
      changing these values and can be used to tune for a particular filesystem
      Signed-off-by: default avatarEric Nelson <eric@nelint.com>
  2. 14 Mar, 2016 1 commit
  3. 24 Jan, 2016 1 commit
  4. 14 Jan, 2016 1 commit
    • Tor Krill's avatar
      sata: Add SATA driver with DMA support for Marvell Kirkwood and Armada XP · 169789dc
      Tor Krill authored
      This patch adds a new SATA driver for the Marvell Kirkwood and Armada
      370 / XP SoC's.
      This driver supports the SATA controller of some Mavell SoC's.
      Here a (most likely incomplete) list of the supported SoC's:
      - Kirkwood
      - Armada 370
      - Armada XP
      This driver implementation is an alternative to the already available
      driver via the "ide" commands interface (drivers/block/mvsata_ide.c).
      But this driver only supports PIO mode and as this new driver also
      supports transfer via DMA, its much faster.
      Please note, that the newer SoC's (e.g. Armada 38x) are not supported
      by this driver. As they have an AHCI compatible SATA controller
      The original version of this driver was sent by Tor Krill to the U-Boot
      list a few years ago. Here the link:
      Changes by Stefan:
      - Coding-style cleanup
      - Support for Armada XP added
      - MBUS window setup added
      - D-cache flush and invalidation added - works with dcache enabled on
        Armada XP
      - Removed mdelay() from ata_wait_register() and add timer based timeout
        detection to speed up the transfer
      Signed-off-by: default avatarTor Krill <tor@excito.com>
      Signed-off-by: default avatarStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      Cc: Tom Rini <trini@konsulko.com>
  5. 15 Jul, 2015 1 commit
  6. 09 Jan, 2014 1 commit
  7. 31 Oct, 2013 1 commit
  8. 24 Jul, 2013 1 commit
  9. 21 Jun, 2012 1 commit
  10. 15 May, 2012 1 commit
  11. 21 Oct, 2011 1 commit
  12. 12 May, 2011 1 commit
    • Macpaul Lin's avatar
      ftide020: add faraday ide ahb controller · 4bed7265
      Macpaul Lin authored
      Faraday's ftide020_s is an IDE-AHB controller for SoC design.
      This patch add the u-boot driver (PIO) of ftide020 ATA (IDE) driver.
      IDE commands include read, info, and other functions has been implemented.
      Because this IDE controller support AHB interface only which is differ
      from other most IDE controller supports PCI interface. Some registers
      access is required during CMD/DATA I/O. Hence a configuration
      "CONFIG_IDE_AHB" is required to be defined according to the feature in
      Signed-off-by: default avatarMacpaul Lin <macpaul@andestech.com>
  13. 01 Feb, 2011 1 commit
  14. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      Before this commit, weak symbols were not overridden by non-weak symbols
      found in archive libraries when linking with recent versions of
      binutils.  As stated in the System V ABI, "the link editor does not
      extract archive members to resolve undefined weak symbols".
      This commit changes all Makefiles to use partial linking (ld -r) instead
      of creating library archives, which forces all symbols to participate in
      linking, allowing non-weak symbols to override weak symbols as intended.
      This approach is also used by Linux, from which the gmake function
      cmd_link_o_target (defined in config.mk and used in all Makefiles) is
      The name of each former library archive is preserved except for
      extensions which change from ".a" to ".o".  This commit updates
      references accordingly where needed, in particular in some linker
      This commit reveals board configurations that exclude some features but
      include source files that depend these disabled features in the build,
      resulting in undefined symbols.  Known such cases include:
      - disabling CMD_NET but not CMD_NFS;
      - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.
      Signed-off-by: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
  15. 07 Aug, 2010 2 commits
  16. 19 Jul, 2009 1 commit
    • Kazuaki Ichinohe's avatar
      Canyonlands SATA harddisk driver · e405afab
      Kazuaki Ichinohe authored
      This patch adds a SATA harddisk driver for the canyonlands.
      This patch is kernel driver's porting.
      This patch corresponded to not cmd_scsi but cmd_sata.
      This patch divided an unused member with ifndef __U_BOOT__ in the structure.
      [environment variable, boot script]
      setenv bootargs root=/dev/sda7 rw
      setenv bootargs ${bootargs} console=ttyS0,115200
      ext2load sata 0:2 0x400000 /canyonlands/uImage
      ext2load sata 0:2 0x800000 /canyonlands/canyonlands.dtb
      fdt addr 0x800000 0x4000
      bootm 0x400000 - 0x800000
      If you drive SATA-2 disk on Canyonlands, you must change parts from
      PI2PCIE212 to PI2PCIE2212 on U25. We confirmed to boot by using
      following disks:
      1.Vendor: Fujitsu	 Type: MHW2040BS
      2.Vendor: Fujitsu	 Type: MHW2060BK
      3.Vendor: HAGIWARA SYS-COM:HFD25S-032GT
      4.Vendor: WesternDigital Type: WD3200BJKT (CONFIG_LBA48 required)
      5.Vendor: WesternDigital Type: WD3200BEVT (CONFIG_LBA48 required)
      6.Vendor: Hitachi	 Type: HTS543232L9A300 (CONFIG_LBA48 required)
      7.Vendor: Seagate	 Type: ST31000333AS (CONFIG_LBA48 required)
      8.Vendor: Transcend	 Type: TS32GSSD25S-M
      9.Vendor: MTRON		 Type: MSD-SATA1525-016
      Signed-off-by: Kazuaki Ichinohe <kazuichi at fsi.co.jp>
  17. 03 Apr, 2009 1 commit
    • unsik Kim's avatar
      mflash: Initial mflash support · 75eb82ec
      unsik Kim authored
      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: default avatarunsik Kim <donari75@gmail.com>
  18. 02 Feb, 2009 1 commit
  19. 12 Aug, 2008 1 commit
  20. 29 Jun, 2008 1 commit
  21. 20 May, 2008 1 commit
    • Wolfgang Denk's avatar
      Big white-space cleanup. · 53677ef1
      Wolfgang Denk authored
      This commit gets rid of a huge amount of silly white-space issues.
      Especially, all sequences of SPACEs followed by TAB characters get
      removed (unless they appear in print statements).
      Also remove all embedded "vim:" and "vi:" statements which hide
      indentation problems.
      Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
  22. 26 Mar, 2008 2 commits
  23. 25 Nov, 2007 1 commit
  24. 20 Nov, 2007 1 commit
  25. 23 Oct, 2007 1 commit
  26. 10 Jul, 2007 1 commit
  27. 18 Jun, 2007 1 commit
    • TsiChung Liew's avatar
      Added M5329AFEE and M5329BFEE Platforms · 8e585f02
      TsiChung Liew authored
      Added board/freescale/m5329evb, cpu/mcf532x, drivers/net,
      drivers/serial,  immap_5329.h, m5329.h, mcfrtc.h,
      include/configs/M5329EVB.h, lib_m68k/interrupts.c, and
      Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c,
      common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h,
      include/asm-m68k/io.h, include/asm-m68k/mcftimer.h,
      include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h,
      include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c,
      lib_m68k/time.c, net/eth.c and rtc/Makefile
      Signed-off-by: default avatarTsiChung Liew <Tsi-Chung.Liew@freescale.com>
  28. 08 Oct, 2006 1 commit
  29. 01 Sep, 2006 1 commit
    • Marian Balakowicz's avatar
      Add support for a saving build objects in a separate directory. · f9328639
      Marian Balakowicz authored
      Modifications are based on the linux kernel approach and
      support two use cases:
        1) Add O= to the make command line
        'make O=/tmp/build all'
        2) Set environement variable BUILD_DIR to point to the desired location
        'export BUILD_DIR=/tmp/build'
      The second approach can also be used with a MAKEALL script
      'export BUILD_DIR=/tmp/build'
      Command line 'O=' setting overrides BUILD_DIR environent variable.
      When none of the above methods is used the local build is performed and
      the object files are placed in the source directory.
  30. 05 Mar, 2006 1 commit
  31. 14 Sep, 2005 1 commit
  32. 17 Aug, 2005 1 commit