- Mar 06, 2012
-
-
Tom Rini authored
Added from Linux - commit 62aa2b537c6f5957afd98e29f96897419ed5ebab Signed-off-by:
Tom Rini <trini@ti.com>
-
Chander Kashyap authored
As mmc_spl now follows SPL infrastructure, removed unwanted entries in Makefile for mmc_spl related compilation. Signed-off-by:
Chander Kashyap <chander.kashyap@linaro.org>
-
git://git.denx.de/u-boot-x86Wolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-x86: sc520: fix build warning about unused temp var
-
Marek Vasut authored
This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de>
-
Marek Vasut authored
This function was defined as an extern in net/eth.c, drop that and use standard means of calling it. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Reinhard Arlt <reinhard.arlt@esd-electronics.com>
-
Simon Glass authored
Change all files in common/ to use CMD_RET_USAGE instead of calling cmd_usage() directly. I'm not completely sure about this patch since the code since impact is small (100 byte or so on ARM) and it might need splitting into smaller patches. But for now here it is. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We currently have the same code in hush.c and main.c. This brings the code into one place. As an added feature, if the command function returns CMD_RET_USAGE then cmd_process() will print a usage message for the command before returning the standard failure code of 1. ARM code size increases about 32 bytes with this clean-up. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
There is a nasty interleave of #ifdefs in hush.c where the two code paths have different indents. Remove this ickiness. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
We should aim for a single point of entry to the commands, whichever parser is used. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
This saves about 1KB of code space on ARM with CONFIG_SYS_HUSH_PARSER defined. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Simon Glass authored
Boards can select either the 'built-in' parser or the hush parser. We should not call builtin_run_command() if we are using the hush parser. We use run_command() instead, since it knows how to call the correct parser. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
This is a more sensible name, so rename it. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
The current run_command() is only one of the parsing options - the other is hush. We should not call run_command() when the hush parser is being used. So we rename this function to better explain its purpose. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
It really isn't clear why this is here and there is no comment, so drop it. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
Building the eNET_SRAM board fails for me: sc520_timer.c: In function 'sc520_udelay': sc520_timer.c:81:7: error: variable 'temp' set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: *** [sc520_timer.o] Error 1 Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Mar 04, 2012
-
-
Thomas Weber authored
Signed-off-by:
Thomas Weber <weber@corscience.de>
-
Linus Walleij authored
The reference implementation of the PCI initialization code almost everywhere contain this fragile loop of "a few usecs", and its use of volatile variables to delay a number of bus cycles is indeed uncertain. Reading the manual "Integrator/AP Users Guide", page 5-15 it is clearly stated: "Wait until 230ms after the end of the reset period before accessing V360EPC internal registers. The V360EPC supports the use of a serial configuration PROM and the software must wait for the device to detect the absence of this PROM before accessing any registers. The required delay is a function of the PCI Clock, but at the lower frequency (25MHz) is 230ms". So let's simply wait 230ms per the spec. This solves the compilation error that looked like this: pci.c: In function ‘pci_init_board’: pci.c:286:18: warning: variable ‘j’ set but not used Reported-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
Linus Walleij authored
Fixing build regressions for the Integrator I get find that a few boards try to work around the missing declaration of pciauto_config_init() by declaring it in the local scope. This does not make sense when the sibling functions are in <pci.h> so move the function to the header, ridding the build error in the Integrator and getting rid of the local declarations here and there. Reported-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
- Mar 03, 2012
-
-
Simon Glass authored
This seems to be unsigned char for no good reason. Tidy this up and remove the casts. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Simon Glass authored
There doesn't seem to be any reason for using uchar here, so change it to char. This fixes a warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Wolfgang Grandegger authored
Following the corresponding Linux code, this patch relaxes reset timings waiting at least 100ms after power to the ports. There are some reports that it helps make enumeration work better on some high speed devices. Furthermore, the wait is only done once after power has been enabled on all ports. CC: Remy Bohmer <linux@bohmer.net> CC: Vincent Palatin <vpalatin@chromium.org> Signed-off-by:
Wolfgang Grandegger <wg@denx.de>
-
Allen Martin authored
This moves keyboard polling logic from USB HCD drivers into USB keyboard driver. Remove usb_event_poll() as keyboard polling was the only user of this API. With this patch USB keyboard works with EHCI controllers again. Tested on a tegra2 seaboard. Signed-off-by:
Allen Martin <amartin@nvidia.com>
-
Allen Martin authored
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard device is detected. Signed-off-by:
Allen Martin <amartin@nvidia.com>
-
Vincent Palatin authored
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter. Signed-off-by:
Vincent Palatin <vpalatin@chromium.org>
-
Vincent Palatin authored
When doing a "GET_REPORT" request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by:
Vincent Palatin <vpalatin@chromium.org>
-
Vincent Palatin authored
Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by:
Vincent Palatin <vpalatin@chromium.org> Tested-by:
Wolfgang Grandegger <wg@denx.de>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Remy Bohmer <linux@bohmer.net> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Remy Bohmer <linux@bohmer.net> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Marek Vasut authored
Signed-off-by:
Marek Vasut <marek.vasut@gmail.com> Cc: Remy Bohmer <linux@bohmer.net> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
git://git.denx.de/u-boot-nand-flashWolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-nand-flash: cmd_nand.c: Fix 'nand dump' after latest MTD resync mtd/nand:Fix wrong usage of is_blank() in fsl_ifc_run_command mtd/nand: Fix IFC driver to support 2K NAND page nand: reinstate lazy bad block scanning Revert "nand: make 1-bit software ECC configurable"
-
git://git.denx.de/u-boot-nds32Wolfgang Denk authored
* 'master' of git://git.denx.de/u-boot-nds32: nds32/board.c: add PCI prompt at boot up nds32/ag101/watchdog.S: add linkage support nds32: add linkage support
-
- Feb 29, 2012
-
-
prabhakar.csengg@gmail.com authored
Fix build error for ethernut5 board due to prototype change for function board_mmc_getcd(). ethernut5.c:238: error: conflicting types for 'board_mmc_getcd' u-boot/include/mmc.h:318: note: previous declaration of 'board_mmc_getcd' was here make[2]: *** [ethernut5.o] Error 1 Signed-off-by:
Prabhakar Lad <prabhakar.csengg@gmail.com> Cc: Tim Schendekehl <tim.schendekehl@egnite.de> Cc: Thierry Reding <thierry.reding@avionic-design.de> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: egnite GmbH <info@egnite.de>
-
- Feb 28, 2012
-
-
Tom Rini authored
With 2a8e0fc8 nand_do_read_ops changed in behavior slightly (keeping in sync with the kernel which did this change in b64d39d8) such that the OOB data is always copied into oobbuf and never appended to datbuf. Within U-Boot only the nand_dump function (for the dump nand subcommand) was expecting the OOB data to only be appended to datbuf. So we now change nand_dump to not malloc extra space, correct the comment about datbuf and OOB data and switch the pointer to oobbuf before printing. Cc: Scott Wood <scottwood@freescale.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Prabhakar Kushwaha authored
Freescale IFC NAND Machine calculates ECC on 512byte sector and same is used in fsl_ifc_run_command() during ECC status verification. Also this sector is passed to is_blank() for blank checking. It is wrong at first place because is_blank()'s implementation checks for Page size and OOB area size. is_blank() should be called per page for main and OOB area verification. Variables name are redefined to avoid confusion between buffer and ecc sector. Signed-off-by:
Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Prabhakar Kushwaha authored
1) OOB area should be updated irrespective of NAND page size. Earlier it was updated only for 512byte NAND page. 2) During OOB update fbcr should be equal to OOB size. Signed-off-by:
Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
commit 2a8e0fc8 ("nand: Merge changes from Linux nand driver") accidentally reverted commit 13f0fd94 ("NAND: Scan bad blocks lazily."). Reinstate the change, as amended by commit ff49ea89 ("NAND: Mark the BBT as scanned prior to calling scan_bbt."). Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
This reverts commit 4fee6c2f. It breaks boards that currently rely on soft-ecc, as pointed out here: http://patchwork.ozlabs.org/patch/140872/ The reverted patch should be resubmitted with documentation, and with the CONFIG_MTD_ECC_SOFT selected from every board that needs it. We could start by looking at what NAND driver the board selects, and whether that driver ever asks for soft ECC. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Macpaul Lin authored
add PCI prompt at boot up for probing PCI device Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Macpaul Lin authored
Add linkage support to watchdog.S. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-
Macpaul Lin authored
Add linkage support. Signed-off-by:
Macpaul Lin <macpaul@andestech.com>
-