- 21 4月, 2011 6 次提交
-
-
-
-
-
-
由 Wolfgang Denk 提交于
This reverts commit 39768f77. Reson: it breaks a number of boards with embedded environment as the code size grows in some places.
-
由 Joakim Tjernlund 提交于
8xx was left behind when fixing up powerpc linking scripts to support -fpic. Signed-off-by: NJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
-
- 18 4月, 2011 1 次提交
-
-
由 Kyle Moffett 提交于
When fdt_fixup_memory_banks is called with 2-cell address and size fields in the device-tree (IE: 64-bit address and size), then it will overflow its on-stack "tmp" buffer. This fixes the buffer size and adds a comment explaining how many bytes need to be allocated per record. Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com> Cc: Jerry Van Baren <vanbaren@cideas.com> Acked-by: NGerald Van Baren <vanbaren@cideas.com>
-
- 16 4月, 2011 5 次提交
-
-
由 Dipen Dudhat 提交于
Modify eLBC based platform's NAND loader Makefile to preprocess nand loader linker script and then use it. Signed-off-by: NDipen Dudhat <Dipen.Dudhat@freescale.com> CC: Scott Wood <scottwood@freescale.com> Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Alex Waterman 提交于
This patch changes the large page nand_command() routine to use a word offset instead of a byte offset. The 'offs' argument gets divided by 2 so that the offset passed to nand_command() is still by byte offset. Originally, the offset was not shifted and when too high an offset was requested the nand chip would attempt to read non-existent data. Signed-off-by: NAlex Waterman <awaterman@dawning.com>
-
由 Matthew McClintock 提交于
Change variables to const to reduce code size, these values are hardcoded via defines anyways so we might as well assume they are constants Signed-off-by: NMatthew McClintock <msm@freescale.com> cc: Scott Wood <scottwood@freescale.com>
-
由 Florian Fainelli 提交于
This patch sync with Brian's patch on Linux in nand_flash_detect_onfi() commit b7b1a29d94c17e4341856381bccb4d17495bea60 Author: Brian Norris <computersforpeace@gmail.com> Date: Sun Dec 12 00:23:33 2010 -0800 mtd: nand: rearrange ONFI revision checking, add ONFI 2.3 In checking for the ONFI revision, the first conditional (for checking "unsupported" ONFI) seems unnecessary. All ONFI revisions should be backwards-compatible; even if this is not the case on some newer ONFI revision, it should simply fail the second version-checking if-else block (i.e., the bit-fields for 1.0, 2.0, etc. would not be set to 1). Thus, we move our "unsupported" condition after having checked each bit field. Also, it's simple enough to add a condition for ONFI revision 2.3. Note that this does *NOT* mean we handle all new features of ONFI versions above 1.0. Signed-off-by: NBrian Norris <computersforpeace@gmail.com> Acked-by: NFlorian Fainelli <ffainelli@freebox.fr> Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com> Signed-off-by: NFlorian Fainelli <florian@openwrt.org>
-
由 Florian Fainelli 提交于
This patch sync with David's patch on Linux in nand_flash_detect_onfi() commit 4ccb3b4497ce01fab4933704fe21581e30fda1a5 Author: David Woodhouse <David.Woodhouse@intel.com> Date: Fri Dec 3 16:36:34 2010 +0000 mtd: nand: Fix integer overflow in ONFI detection of chips >= 4GiB Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com> Signed-off-by: NFlorian Fainelli <florian@openwrt.org>
-
- 14 4月, 2011 7 次提交
-
-
由 Nick Thompson 提交于
The omap24xx driver only seems to support devices that have a single subaddress byte. With these types of devices, the first access in a bus transaction is usually a write (writes the subaddress) followed by either a read or write to access the devices registers. Many such devices will respond to a read as the first access, but there are at least some that will NACK such a read. (e.g. ADV7180.) The probe function attempts to detect a devices ACK to a read access only and fails to find devices that NACK a read. This commit modifies the probe function to start a write instead. This detects devices that respond to reads (since they must also respond to writes) as well as those that only respond to writes. The bus is immediately set to idle after a (N)ACK avoiding actually writing anything to the device. Signed-off-by: NNick Thompson <nick.thompson@ge.com>
-
由 Fabio Estevam 提交于
Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
-
由 Simon Glass 提交于
This seems to pad to one byte longer than required Signed-off-by: NSimon Glass <sjg@chromium.org>
-
-
-
由 Peter Tyser 提交于
Commit 6ee1416e (mtd, cfi: introduce void flash_protect_default(void)) introduced a bug which resulted in boards that define CONFIG_SYS_FLASH_AUTOPROTECT_LIST not compiling with the the following errors and warning: ptyser@petert u-boot $ make -s xpedite520x Configuring for xpedite520x board... cfi_flash.c: In function 'flash_protect_default': cfi_flash.c:2118: error: 'i' undeclared (first use in this function) cfi_flash.c:2118: error: (Each undeclared identifier is reported only once cfi_flash.c:2118: error: for each function it appears in.) cfi_flash.c:2118: error: 'apl' undeclared (first use in this function) cfi_flash.c:2118: error: invalid application of 'sizeof' to incomplete type 'struct apl_s' cfi_flash.c: In function 'flash_init': cfi_flash.c:2137: warning: unused variable 'apl' Signed-off-by: NPeter Tyser <ptyser@xes-inc.com> Reported-by: NKumar Gala <galak@kernel.crashing.org> Cc: Heiko Schocher <hs@denx.de>
-
由 James Kosin 提交于
Signed-off-by: NJames Kosin <jkosin@intcomgrp.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 13 4月, 2011 21 次提交
-
-
由 Raffaele Recalcati 提交于
Hi Terry, > So I guess: > mmc_init calls mmc_send_op_cond that set high_capacity, > than it calls mmc_startup, that, with MMC_CMD_SEND_CSD command, set > the capacity, using values in CSD register. > So I guess that mmc_change_freq should not recalculate high_capacity. > > It seems better, isn't it? > > Regards, > Raffaele > Finally I think that it is enough to apply the following patch in order to fix the issue. Regards, Raffaele Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Raffaele Recalcati 提交于
Defining CONFIG_MMC_TRACE in the include board file it is possible to activate a tracing support. This code helps in case of eMMC hw failure or to investigate possible eMMC initialization issues. Signed-off-by: NRaffaele Recalcati <raffaele.recalcati@bticino.it> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Raffaele Recalcati 提交于
The first SEND_OP_COND (CMD1) command added is used to ask card capabilities. After it an AND operation is done between card capabilities and host capabilities (at the moment only for the voltage field). Finally the correct value is sent to the MMC, waiting that the card exits from busy state. Signed-off-by: NRaffaele Recalcati <raffaele.recalcati@bticino.it> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Raffaele Recalcati 提交于
It is recommended to check card status after these kind of commands. This is done using CMD13 (SEND_STATUS) JEDEC command until the card is ready. In case of error the card status field is displayed. Signed-off-by: NRaffaele Recalcati <raffaele.recalcati@bticino.it> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Minkyu Kang 提交于
Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Minkyu Kang 提交于
Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Thomas Chou 提交于
This patch supports mmc/sd card with spi interface. It is based on the generic mmc framework. It works with SDHC and supports multi blocks read/write. The crc checksum on data packet is enabled with the def, There is a subcomamnd "mmc_spi" to setup spi bus and cs at run time. Signed-off-by: NThomas Chou <thomas@wytron.com.tw> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Mike Frysinger 提交于
These local vars need not be writable nor exported. Signed-off-by: NMike Frysinger <vapier@gentoo.org> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Frans Meulenbroeks 提交于
As DATA_ERROR includes the value IRQSTAT_DTOE, a timeout error would yield the first error return instead of TIMEOUT. By swapping the test TIMEOUTs are reported as such An alternate solution would be to remove the IRQSTAT_DTOE from the DATA_ERROR define but as that one might be less desired I've opted for the simplest solution Signed-off-by: NFrans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Wolfgang Wegner 提交于
This patch adds CONFIG_SPI_IDLE_VAL to cf_spi.c The default setting is 0x0 to behave same as current version, in case CONFIG_SPI_MMC is set, the value is set to 0xFFFF (all ones). In either case, the value can be overwritten by board configuration. Signed-off-by: NWolfgang Wegner <w.wegner@astro-kom.de> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Matt Waddel 提交于
The maximum blocks value was hardcoded to 65535 due to a 16 bit register length. The value can change for different platforms. This patch makes the default the current value of 65535, but it is configurable for other platforms. Signed-off-by: NMatt Waddel <matt.waddel@linaro.org> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
-
由 Graeme Russ 提交于
The README files are totally out-of-date to the point where they do more harm than good Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
Partial linking allows weak functions to be overridden in files containing only one function. Moving the sc520 override of reset_cpu gets rid of an ugly #ifdef Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
Make the copyright notices in the x86 files consistent and update them with proper attributions for recent updates Also fix a few comment style/accuracy and whitespace/blank line issues Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
By including <config.h> in the ld script, CONFIG_SYS_MONITOR_LEN (defined in the boards config file) can be used in lieu of FLASH_SIZE (defined in the board specific config.mk) As this is the last remaining entry in the board specific config.mk, this file can now be removed Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Graeme Russ 提交于
CONFIG_ENV_SIZE = CONFIG_ENV_SECT_SIZE = 128kB but CONFIG_SYS_STACK_SIZE is only 32kB resulting in saveenv causing a stack overflow and crashing U-Boot. Resolve by reducing CONFIG_ENV_SIZE to 4kB Also fix up CONFIG_SYS_MALLOC_LEN to correctly use environment sector size and add some comments to the memory organisation configuration Signed-off-by: NGraeme Russ <graeme.russ@gmail.com>
-
由 Alagu Sankar 提交于
Fixed a bug wherein SD version 1.0 cards were not configured for 4-bit mode Signed-off-by: NAlagu Sankar <alagusankar@embwise.com>
-
由 Lei Wen 提交于
If the param pass to get_dev is not the one defined in the block_drvr, it could make uboot becomes unstable, for it would continue run after search complete the block_drvr table. Signed-off-by: NLei Wen <leiwen@marvell.com>
-
由 Remy Bohmer 提交于
* The sector size for SPI-dataflash (like AT45 flashes) are not always a power-of-2. So, the sector calculations are rewritten such that it works for either power-of-2 as any size sectors. * Make the flash sector size optional in case it is the same value as the environment size. Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-