- 26 9月, 2012 14 次提交
-
-
由 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>
-
由 Rob Herring 提交于
Convert reiserload and reiserls to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Rob Herring 提交于
Convert zfsload and zfsls to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Rob Herring 提交于
Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Rob Herring 提交于
Convert fatload, fatls, and fatinfo to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Rob Herring 提交于
Convert ext2/4 load, ls, and write functions to use common device and partition parsing function. With the common function "dev:part" can come from the environment and a '-' can be used in that case. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Rob Herring 提交于
There's no real need to expose this and it can be removed by using a static allocation. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 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>
-
由 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>
-
由 Rob Herring 提交于
All the raw block load commands duplicate the same code. Starting with the ide version as it has progress updates convert ide, usb, and scsi boot commands to all use a common version. Signed-off-by: NRob Herring <rob.herring@calxeda.com>
-
由 Stephen Warren 提交于
Now that get_device_and_partition() always calls get_partition_info() when disk.c is compiled, we must always compile the function, rather than ifdef it away. The implementation must be conditional based on CONFIG_CMD_* etc., since that's what e.g. part_dos.c uses to ifdef out get_partition_info_dos(); CONFIG_DOS_PARTITION can be enabled even without those commands being enabled. Technically, this change is required before Rob's "disk/part: introduce get_device_and_partition" patch. However, at least when the compiler optimizer is turned on, it isn't required before then in practice, since get_device_and_partition() calls get_dev(), which is stubbed out in disk.c under exactly the same conditions that get_partition_info() is not compiled, and hence the compiler never generates code for the call to the missing function. However, in my later patch "disk: get_device_and_partition() "auto" partition and cleanup", the optimizer doesn't succeed at this, and may attempt to reference the undefined function. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
由 Allen Martin 提交于
The LIST_arm rule included the Atmel boards twice (by virtue of including both LIST_at91 and LIST_ARM9) and was missing all the arm720t, arm946es, and arm1176 boards. Change this list to use boards_by_arch() which is less error prone. After this change "./MAKEALL arm" and "./MAKEALL -a arm" build the same boards. Also fix up some missing and duplicate boards to arm, mips, and m68k. Signed-off-by: NAllen Martin <amartin@nvidia.com> Acked-by: NTom Rini <trini@ti.com>
-
由 Stephen Warren 提交于
Commit 86c63265 "ARM: arm1176: enable instruction cache in arch_cpu_init()" defined arch_cpu_init() in a file that is shared across all arm1176 SoCs. tnetv107x already implemented this function, which caused linking to break. Move the new conflicting arch_cpu_init() into arm1176/bcm2835/init.c so that it doesn't conflict; grep indicates this function is usually defined at the SoC-level, not the CPU-level, at least for ARM. Signed-off-by: NStephen Warren <swarren@wwwdotorg.org> Acked-by: NMarek Vasut <marex@denx.de>
-
-
- 22 9月, 2012 8 次提交
-
-
由 Tom Rini 提交于
Signed-off-by: NTom Rini <trini@ti.com>
-
-
由 Kumar Gala 提交于
The following commit introduced some warnings associated with using pci_addr_t instead of a proper 32-bit data type. commit af778c6d Author: Andrew Sharp <andywyse6@gmail.com> Date: Wed Aug 1 12:27:16 2012 +0000 pci: fix errant data types and corresponding access functions On some platforms pci_addr_t is defined as a 64-bit data type so its not proper to use with pci_{read,write}_config_dword. Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
-
由 Simon Glass 提交于
This makes it easier to include this header from other headers. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Simon Glass 提交于
The new debugging shows the value of integers and addresses read from the device tree and tidy up GPIO output. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This function should also be part of the GPIO API, so add it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
-
- 21 9月, 2012 7 次提交
-
-
由 Tom Rini 提交于
After further investigation this change is not correct and results in get_ram_size returning incorrectly large values. Reported first by Gerlando Falauto. This reverts commit b8496cce. Signed-off-by: NTom Rini <trini@ti.com>
-
由 Albert ARIBAUD 提交于
-
由 Lucas Stach 提交于
usb_hub_descriptor has to be packed as it's used for communication with the device. Member wHubCharacteristics violates the natural alignment rules. Use explicit unaligned access functions for this member. Fixes ARMv7 traping while using USB. v2: fix typo found by Thomas Langer v3: rebased on top of u-boot-usb/master Signed-off-by: NLucas Stach <dev@lynxeye.de>
-
由 Łukasz Majewski 提交于
The "filesize" environment variable shall be read only when relevant file is read. Signed-off-by: NLukasz Majewski <l.majewski@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Łukasz Majewski 提交于
Support for ext4 file system handling at DFU. Signed-off-by: NLukasz Majewski <l.majewski@samsung.com> Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Tom Rini 提交于
Update Makefile change for LIBS -> LIBS-y change. Conflicts: Makefile Signed-off-by: NTom Rini <trini@ti.com>
-
由 Stephen Warren 提交于
DMA buffer cache invalidation requires that buffers have cache-aligned buffer locations and sizes. Use memalign() and ALLOC_CACHE_ALIGN_BUFFER() to ensure this. On Tegra at least, without this fix, the following fail commands fail in u-boot-master/ext4, but succeeded at the branch's branch point in u-boot/master. With this fix, the commands work again: ext2ls mmc 0:1 / ext2load mmc 0:1 /boot/zImage Cc: Uma Shankar <uma.shankar@samsung.com> Cc: Manjunatha C Achar <a.manjunatha@samsung.com> Cc: Iqbal Shareef <iqbal.ams@samsung.com> Cc: Hakgoo Lee <goodguy.lee@samsung.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Tom Rini <trini@ti.com> Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
- 20 9月, 2012 11 次提交
-
-
由 Jason Jin 提交于
originally work by Jate Sujjavanich <jsujjavanich@syntech-fuelmaster.com> ---- The defines in arch/m68k/include/coldfire/flexbus.h are not compatible with the 5235 processor. The registers in struct fbcs are different sizes from those in the 5235. Also, the defines are a little different. This is what I have so far. Comments? ---- Reformat the patch manually by Jason Jin Signed-off-by: NJate Sujjavanich <jsujjavanich@syntech-fuelmaster.com> Signed-off-by: NJason Jin <Jason.jin@freescale.com>
-
由 Richard Retanubun 提交于
This patch adds a driver for Freescale Colfire Queued SPI bus. Coded to work with 8 bits per transfer to use with SPI flash. CPOL, CPHA, and CS_ACTIVE_HIGH can be configured. Tested with MCF5270 which have 4 chip selects. Activate by #define CONFIG_CF_QSPI in board config. Signed-off-by: NRichard Retanubun <richardretanubun@ruggedcom.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
This patch uses the general ffs definition to replace the platform ffs definition. This patch also fixes the build error by adding hweightN definition for m5329evb and m5373evb. Signed-off-by: NJason Jin <Jason.jin@freescale.com> Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
This patch fixes the build error for MCF537x. As the NANDFLASH_SIZE is redefined in boards.cfg, it is needed to rename NANDFLASH_SIZE into CONFIG_NANDFLASH_SIZE in include/configs/M5373EVB.h. Signed-off-by: NAlison Wang <b18965@freescale.com>
-