- Oct 20, 2010
-
-
This patch removes the "magic number" delays and instead monitors state changes in the status register bits. Signed-off-by: Steve Sakoman <steve.sakomanlinaro.org> Tested-by:
Heiko Schocher <hs@denx.de>
-
This patch matches the poll interval (1 millisecond) and timeout (1 second) used in the linux driver. It also adds a return value of 0 in the event of a timeout error and cleans up some formatting errors in that section of the code. Signed-off-by:
Steve Sakoman <steve.sakoman@linaro.org> Tested-by:
Heiko Schocher <hs@denx.de>
-
Stefano Babic authored
Last commit 3831530d was intended "explicitly specify FAT12/16 root directory parsing buffer size, instead of relying on cluster size". Howver, the underlying function requires the size of the buffer in blocks, not in bytes, and instead of passing a double sector size a request for 1024 blocks is sent. This generates a buffer overflow with overwriting of other structure (in the case seen, USB structures were overwritten). Signed-off-by:
Stefano Babic <sbabic@denx.de> CC: Mikhail Zolotaryov <lebon@lebon.org.ua>
-
Wolfgang Denk authored
Commit a6bd9e83 "FDT: Add fixup support for multiple banks of memory" removed code but forgot to remove the variables used by it, resulting in warnings: fdt_support.c: In function 'fdt_fixup_memory_banks': fdt_support.c:399: warning: unused variable 'sizecell' fdt_support.c:399: warning: unused variable 'addrcell' Remove the declarations, too. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Oct 19, 2010
-
-
Wolfgang Denk authored
Appendix B "EHCI 64-Bit Data Structures" of the "Enhanced Host Controller Interface Specification for Universal Serial Bus" (Rev. 1.0, March 12, 2002) defines additional fields which were missing in U-Boot's struct qTD; as these are also present in recent versions of struct ehci_qtd in the Linux kernel, we add them here, too. This fixes some nasty memory corruption problems. Reported-by:
Dan Lykowski <lykowdk@gmail.com> See http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/76942 Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: Remy Bohmer <linux@bohmer.net> Cc: Dan Lykowski <lykowdk@gmail.com> Cc: Stefano Babic <sbabic@denx.de> Tested-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Removed warnings generated in the mx31_set_pad() function. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Eric Cooper authored
-
Richard Retanubun authored
Follow up to commit 620f1f6a removed compiler warning for (now) unused cmd_tbl_t* cmdtp
-
Stefan Roese authored
This patch adds a small README to describe the usage of the U-Boot UBI commands. Signed-off-by:
Stefan Roese <sr@denx.de>
-
Stefano Babic authored
The usage and help for the fpga command is wrong and incomplete, and the parameters are not checked before to be passed to the underlying subfunction. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Stefano Babic authored
Add prototype function for ispVMFreeMem to remove warnings when support for Lattice FPGA is compiled. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
Mike Frysinger authored
The "options" field at the moment is only documented in the changelog which isn't terribly useful to people without git. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Jens Scharsig authored
* update to support arm reloaction * unnecessary environment variables removed Signed-off-by:
Jens Scharsig <js_at_ng@scharsoft.de>
-
Kristoffer Ericson authored
This patch adds support for the HP Jornada flashboards that were made in 2008. Older flashroms should work if memory registers are adjusted. Signed-off-by:
Kristoffer Ericson <kristoffer.ericson@gmail.com> Adpted for TEXT_BASE -> CONFIG_SYS_TEXT_BASE rename. Removed now redundant board/jornada/config.mk file. Removed unused empty jornada_init() function to silence "jornada.c:35: warning: 'jornada_init' defined but not used" Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Mike Frysinger authored
Boards often have a reserved size limit on the flash where they're stored. Sometimes during upgrades or config changes, those limits are exceeded, but no one notices until they try to upgrade and the limit screws things up. Either not enough of U-Boot is written to flash (and so the reboot fails), or too much is written (and so things after it get clobbered). So allow boards to declare a size limit (in bytes) and have the build system check it while building. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
John Rigby authored
Call fec_set_hwaddr in init routine to setup MAC address so when ethaddr is set late via setenv the change will propagate to the hw. Signed-off-by:
John Rigby <john.rigby@linaro.org> CC: Ben Warren <biggerbadderben@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
NOTE: The modification in Makefile will be superseded by a pending patch! Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Firstly, this fixes relocation issues. I had to use part of Dcache as RAM for a while. I also moved around the lowlevel init code. It turned out so most of the lowlevel init code ended in cpu.c (and eventually was rewritten into C). This will also allow easier operation with FDT, multi-CPU-model support etc. in later releases. NOTE: This breaks most of the PXA boards (actually, the reloc stuff did already, this only finishes the doom). Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Mikhail Kshevetskiy authored
pxa_mem_setup macro use r6 to store CONFIG_SYS_MDREFR_VAL during memory initialization. This reg is modified during execution of pxa_wait_ticks. Later we use r6 to setup MDREFR[APD] bit. As result MDREFR[APD] is always zero. Signed-off-by:
Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
-
Mikhail Kshevetskiy authored
Define ENV_ADDR as MONITOR_BASE + MONITOR_LEN. Fix environment sector size (NOR: 32Kb for first four sectors and 128Kb for other; OneNAND: 128Kb). Last but not least: we have MONITOR_LEN = 0x40000 and one sector for environment (size = 0x20000), so the kernel may start from 0x00060000 only. Signed-off-by:
Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
-
Mikhail Kshevetskiy authored
* CONFIG_SYS_CLKS_IN_HZ is not used anywhere, so removing it * CONFIG_SYS_HZ is set to 1000 on most architectures, so it seems to be the safe default Signed-off-by:
Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
-
Mikhail Kshevetskiy authored
This file is not used, automatically generated u-boot.lds is used instead Signed-off-by:
Mikhail Kshevetskiy <mikhail.kshevetskiy@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
The following hardware is currently supported: - UART - USB Host - FPGA Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
128MB NOR module support. Define __io to get harddrive working. Fix saving of environment into OneNAND. Boot from harddrive when possible. Add missing MAINTAINERS entry. Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
This patch adds support for the Palm Tungsten|C PXA255 board. The support includes: - LCD - MMC - UART - NOR Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
This LCD panel is found in Palm LifeDrive handheld Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
ACX517AKN LCD panel is found in Palm Tungsten|C Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-
Marek Vasut authored
Also change the initializer style Signed-off-by:
Marek Vasut <marek.vasut@gmail.com>
-