- 24 7月, 2013 1 次提交
-
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: NTom Rini <trini@ti.com>
-
- 16 7月, 2013 1 次提交
-
-
由 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>
-
- 26 6月, 2013 1 次提交
-
-
由 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>
-
- 16 3月, 2013 1 次提交
-
-
由 Simon Glass 提交于
This adds ppc features to the generic post-relocation board init. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 22 10月, 2012 1 次提交
-
-
由 Gabe Black 提交于
The size of an LBA type changes depending on this option. We need to use a different printf() string in each case, so create a define for this. Signed-off-by: NGabe Black <gabeblack@chromium.org> Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 17 10月, 2012 2 次提交
-
-
由 Pavel Herrmann 提交于
This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in cmd_ide.c) Also declare ide_bus_offset in the header file, so other files can use ATA_CURR_BASE as well. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created ide_init_postreset() (invoked after calling ide_reset after ide_preinit), some cleanup to make checkpatch happy, enable IDE init hooks in configs of affected boards. confusingly, these hooks are used by more than just mpc8xx-based boards, and therefore are placed in arch/ppc/lib/ note: checkpatch still emits warnings about using volatile Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
- 16 10月, 2012 1 次提交
-
-
由 Tom Rini 提交于
block_dev_desc_t says that block_(read|write) take lbaint_t for blkcnt not ulong Signed-off-by: NTom Rini <trini@ti.com>
-
- 09 10月, 2012 1 次提交
-
-
由 Luka Perkov 提交于
The IDE_BUS(dev) macro was previously doing dev >> 1. This however is a mis-match of the usage in common/cmd_ide.c and would cause boards with multiple ports / devices to not correctly detect all devices. For more details please see: http://lists.denx.de/pipermail/u-boot/2012-April/122525.html [Tom Rini: Reword commit message only] Tested-by: NLuka Perkov <uboot@lukaperkov.net> Signed-off-by: NSimon Baatz <gmbnomis@gmail.com> Signed-off-by: NTom Rini <trini@ti.com>
-
- 01 5月, 2011 2 次提交
-
-
由 Wolfgang Denk 提交于
The changes introduced by commit 0abddf82 ``cmd_ide: enhance new feature "CONFIG_IDE_AHB"'' caused compiler warnings like cmd_ide.c: In function 'ide_init': cmd_ide.c:716: warning: assignment from incompatible pointer type Constify the respective function arguments to fix this. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Macpaul Lin 提交于
Although most IDE controller is designed to be connected to PCI bridge, there are still some IDE controller support AHB interface for SoC design. The driver implementation of these IDE-AHB controllers differ from other IDE-PCI controller, some additional registers and commands access is required during CMD/DATA I/O. Hence a configuration "CONFIG_IDE_AHB" in cmd_ide.c is required to be defined to support these kinds of SoC controllers. Such as Faraday's FTIDE020 series and Global Unichip's UINF-0301. Signed-off-by: NMacpaul Lin <macpaul@andestech.com>
-
- 03 10月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
U-Boot can detect if an IDE device is present or not. If not, and this new config option is activated, U-Boot removes the ATA node from the DTS before booting Linux, so the Linux IDE driver does not probe the device and crash. This is needed for buggy hardware (uc101) where no pull down resistor is connected to the signal IDE5V_DD7. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 25 9月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
U-Boot can detect if an IDE device is present or not. If not, and this new config option is activated, U-Boot removes the ATA node from the DTS before booting Linux, so the Linux IDE driver does not probe the device and crash. This is needed for buggy hardware (uc101) where no pull down resistor is connected to the signal IDE5V_DD7. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 19 10月, 2008 1 次提交
-
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 28 8月, 2007 1 次提交
-
-
由 Heiko Schocher 提交于
define there own I/O functions. (Needed for the pcs440ep board). - The default I/O Functions are again 8 Bit accesses. - Added CONFIG_CMD_IDE for the pcs440ep Board. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 20 2月, 2007 2 次提交
-
-
由 Grant Likely 提交于
Block device read/write is anonymous data; there is no need to use a typed pointer. void * is fine. Also add a hook for block_read functions Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
由 Grant Likely 提交于
Each of the filesystem drivers duplicate the get_dev routine. This change merges them into a single function in part.c Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
-
- 15 3月, 2004 1 次提交
-
-
由 wdenk 提交于
-
- 14 3月, 2004 1 次提交
-
-
由 wdenk 提交于
- Added LBA48 support (CONFIG_LBA48 & CFG_64BIT_LBA) - Added support for 64bit printing in vsprintf (CFG_64BIT_VSPRINTF) - Added support for 64bit strtoul (CFG_64BIT_STRTOUL) * Patch by Masami Komiya, 27 Feb 2004: Fix rarpboot: add autoload by NFS * Patch by Dan Eisenhut, 26 Feb 2004: fix flash_write return value in saveenv * Patch by Stephan Linz, 11 Dec 2003 expand config.mk to avoid trigraph warnings on NIOS * Rename "BMS2003" board into "HMI10"
-
- 27 8月, 2002 1 次提交
-
-
由 wdenk 提交于
-
- 28 12月, 2000 1 次提交
-
-
由 wdenk 提交于
-
- 14 12月, 2000 1 次提交
-
-
由 wdenk 提交于
-
- 13 11月, 2000 1 次提交
-
-
由 wdenk 提交于
-