- Jul 26, 2011
-
-
Matthew McClintock authored
If we don't want to build support for any partition types we can now add #undef CONFIG_PARTITIONS in a board config file to keep this from being compiled in. Otherwise boards assume this is compiled in by default Signed-off-by:
Matthew McClintock <msm@freescale.com>
-
- Jul 25, 2011
-
-
Mike Frysinger authored
Rather than having a bunch of random commands handle autostart behavior, unify the logic in a single place. This also fixes building of these different commands when bootm is disabled. Acked-by:
Matthew McClintock <msm@freescale.com> Acked-by:
Scott Wood <scottwood@freescale.com> Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Apr 30, 2011
-
-
Wolfgang Denk authored
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:
Wolfgang Denk <wd@denx.de>
-
Macpaul Lin authored
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:
Macpaul Lin <macpaul@andestech.com>
-
- Feb 05, 2011
-
-
Shinya Kuribayashi authored
commit 8bde63eb ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one. Signed-off-by:
Shinya Kuribayashi <skuribay@pobox.com>
-
- Jan 11, 2011
-
-
Wolfgang Denk authored
This reverts commit 5a442c0a. This commit changed the behaviour of getenv_yesno() (both the default behaviour and the documented behaviour for abbreviated arguments) which resulted in problems in several areas. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Nov 28, 2010
-
-
Mike Frysinger authored
Use the new helper func to clean up duplicate logic handling of the autostart env var. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
Mike Frysinger authored
The duplication of the do_bootm prototype has gotten out of hand, and they're pretty much all outdated (wrt constness). Unify them all in command.h. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Sep 19, 2010
-
-
Wolfgang Denk authored
Recent changes caused that the HMI10 board now is included in the boards built by MAKEALL, which revealed that compilation for this board has been broken for a long time: ps2ser.c: In function 'ps2ser_init': ps2ser.c:155: error: 'UART_LCR' undeclared (first use in this function) ps2ser.c:155: error: (Each undeclared identifier is reported only once ps2ser.c:155: error: for each function it appears in.) ps2ser.c:156: error: 'UART_DLL' undeclared (first use in this function) ps2ser.c:157: error: 'UART_DLM' undeclared (first use in this function) ps2ser.c:159: error: 'UART_IER' undeclared (first use in this function) ps2ser.c:160: error: 'UART_MCR' undeclared (first use in this function) ps2ser.c:161: error: 'UART_FCR' undeclared (first use in this function) ps2ser.c:162: error: 'UART_FCR_ENABLE_FIFO' undeclared (first use in this function) ps2ser.c:166: error: 'UART_LSR' undeclared (first use in this function) ps2ser.c: In function 'ps2ser_putc': ps2ser.c:198: error: 'UART_LSR' undeclared (first use in this function) ps2ser.c:200: error: 'UART_TX' undeclared (first use in this function) ps2ser.c: In function 'ps2ser_getc_hw': ps2ser.c:224: error: 'UART_LSR' undeclared (first use in this function) ps2ser.c:225: error: 'UART_RX' undeclared (first use in this function) ps2ser.c: In function 'ps2ser_interrupt': ps2ser.c:293: error: 'UART_IIR' undeclared (first use in this function) The board is orphaned, and AFAICT has reached EOL. Drop support for it. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Aug 07, 2010
-
-
Prafulla Wadaskar authored
Added MVSATAC definitions to Kirkwood. Added support for Kirkwood in cmd_ide. Signed-off-by:
Prafulla Wadaskar <prafulla@marvell.com>
-
Albert Aribaud authored
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by:
Albert Aribaud <albert.aribaud@free.fr>
-
Albert Aribaud authored
CONFIG_IDE_SWAP_IO This configuration option replaces a complex conditional in cmd_ide.c with an explicit define to be added to SoC or board configs. Signed-off-by:
Albert Aribaud <albert.aribaud@free.fr>
-
- Jul 24, 2010
-
-
Wolfgang Denk authored
Lots of code use this construct: cmd_usage(cmdtp); return 1; Change cmd_usage() let it return 1 - then we can replace all these ocurrances by return cmd_usage(cmdtp); This fixes a few places with incorrect return code handling, too. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jul 04, 2010
-
-
Wolfgang Denk authored
The hush shell dynamically allocates (and re-allocates) memory for the argument strings in the "char *argv[]" argument vector passed to commands. Any code that modifies these pointers will cause serious corruption of the malloc data structures and crash U-Boot, so make sure the compiler can check that no such modifications are being done by changing the code into "char * const argv[]". This modification is the result of debugging a strange crash caused after adding a new command, which used the following argument processing code which has been working perfectly fine in all Unix systems since version 6 - but not so in U-Boot: int main (int argc, char **argv) { while (--argc > 0 && **++argv == '-') { /* ====> */ while (*++*argv) { switch (**argv) { case 'd': debug++; break; ... default: usage (); } } } ... } The line marked "====>" will corrupt the malloc data structures and usually cause U-Boot to crash when the next command gets executed by the shell. With the modification, the compiler will prevent this with an error: increment of read-only location '*argv' N.B.: The code above can be trivially rewritten like this: while (--argc > 0 && **++argv == '-') { char *arg = *argv; while (*++arg) { switch (*arg) { ... Signed-off-by:
Wolfgang Denk <wd@denx.de> Acked-by:
Mike Frysinger <vapier@gentoo.org>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Jun 23, 2010
-
-
Wolfgang Denk authored
The AmigaOneG3SE board has been orphaned or a very long time, and broken for more than 12 releases resp. more than 3 years. As nobody seems to be interested any more in this stuff we may as well ged rid of it, especially as it clutters many areas of the code so it is a continuous pain for all kinds of ongoing work. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Dec 08, 2009
-
-
Heiko Schocher authored
There is more and more usage of printing 64bit values, so enable this feature generally, and delete the CONFIG_SYS_64BIT_VSPRINTF and CONFIG_SYS_64BIT_STRTOUL defines. Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Oct 03, 2009
-
-
Heiko Schocher authored
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:
Heiko Schocher <hs@denx.de>
-
- Sep 24, 2009
-
-
Heiko Schocher authored
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:
Heiko Schocher <hs@denx.de>
-
- Jun 12, 2009
-
-
Wolfgang Denk authored
Move needed definitions (register descriptions etc.) from include/mpc512x.h into include/asm-ppc/immap_512x.h. Instead of using a #define'd register offset, use a function that provides the PATA controller's base address. All the rest of include/mpc512x.h are register offset definitions which can be eliminated by proper use of C structures. There are only a few register offsets remaining that are needed in cpu/mpc512x/start.S; for these we provide cpu/mpc512x/asm-offsets.h which is intended as a temporary workaround only. In a later patch this file will be removed, too, and then auto-generated from the respective C structs. Signed-off-by:
Wolfgang Denk <wd@denx.de> Cc: John Rigby <jcrigby@gmail.com>
-
Wolfgang Denk authored
Many of the help messages were not really helpful; for example, many commands that take no arguments would not print a correct synopsis line, but "No additional help available." which is not exactly wrong, but not helpful either. Commit ``Make "usage" messages more helpful.'' changed this partially. But it also became clear that lots of "Usage" and "Help" messages (fields "usage" and "help" in struct cmd_tbl_s respective) were actually redundant. This patch cleans this up - for example: Before: => help dtt dtt - Digital Thermometer and Thermostat Usage: dtt - Read temperature from digital thermometer and thermostat. After: => help dtt dtt - Read temperature from Digital Thermometer and Thermostat Usage: dtt Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 20, 2009
-
-
Kim Phillips authored
cmd_ide.c:547: error: inline function 'ide_inb' cannot be declared weak removing the inline attribute fixes it. Signed-off-by:
Kim Phillips <kim.phillips@freescale.com>
-
- Apr 27, 2009
-
-
Peter Tyser authored
The output_data_short() and input_data_short() functions for the AmigaOneG3SE are unused and result in compiler warnings. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Mar 20, 2009
-
-
Mike Frysinger authored
This brings in support for the %p modifier which allows us to easily print out things like ip addresses, mac addresses, and pointers. It also converts the rarely used 'q' length modifier to the common 'L' modifier when dealing with quad types. While this new code is a bit larger (~1k .text), most of it should be made up by converting the existing ip/mac address code to use format modifiers. Signed-off-by:
Mike Frysinger <vapier@gentoo.org>
-
- Feb 03, 2009
-
-
Ralph Kondziella authored
Original patch from Ralph Kondziella plus clean up by Wolfgang Denk plus changes by John Rigby use ips clock not lpc port forward to current u-boot release Signed-off-by:
Ralph Kondziella <rk@argos-messtechnik.de> Signed-off-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
John Rigby <jrigby@freescale.com>
-
- Jan 28, 2009
-
-
Peter Tyser authored
Remove command name from all command "usage" fields and update common/command.c to display "name - usage" instead of just "usage". Also remove newlines from command usage fields. Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
Peter Tyser authored
Signed-off-by:
Peter Tyser <ptyser@xes-inc.com>
-
- Dec 07, 2008
-
-
Richard Retanubun authored
Corrected endian order printing for compact flash serial number. Signed-off-by:
Richard Retanubun <RichardRetanubun@RuggedCom.com>
-
- Oct 18, 2008
-
-
Jean-Christophe PLAGNIOL-VILLARD authored
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- Aug 20, 2008
-
-
Steven A. Falco authored
Correct a small spelling mistake. Signed-off-by:
Steven A. Falco <sfalco@harris.com>
-
Steven A. Falco authored
This patch adds a hook whereby a board-specific routine can be called to configure hardware for a PIO mode. The prototype for the board-specific routine is: int inline ide_set_piomode(int pio_mode) ide_set_piomode should be prepared to configure hardware for a pio_mode between 0 and 6, inclusive. It should return 0 on success or 1 on failure. Signed-off-by:
Steven A. Falco <sfalco@harris.com>
-
- Aug 06, 2008
-
-
Stefan Roese authored
Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jul 29, 2008
-
-
Heiko Schocher authored
cmd_ide.c:827: Warnung: weak declaration of `ide_outb' after first use results in unspecified behavior cmd_ide.c:839: Warnung: weak declaration of `ide_inb' after first use results in unspecified behavior Signed-off-by:
Heiko Schocher <hs@denx.de>
-
- Jul 20, 2008
-
-
Stefan Roese authored
This is needed for boards that define CFG_64BIT_STRTOUL but don't define CFG_64BIT_LBA. Signed-off-by:
Stefan Roese <sr@denx.de>
-
- Jun 30, 2008
-
-
Marian Balakowicz authored
Global FIT image operations like format check cannot be performed on a first sector data, defer them to the point when whole FIT image was uploaded to a system RAM. Signed-off-by:
Marian Balakowicz <m8@semihalf.com> Partial ('cmd_nand' case) Acked-by:
Grant Erickson <gerickson@nuovations.com> NAND and DOC bits Acked-by:
Scott Wood <scottwood@freescale.com>
-
- May 20, 2008
-
-
Wolfgang Denk authored
This commit gets rid of a huge amount of silly white-space issues. Especially, all sequences of SPACEs followed by TAB characters get removed (unless they appear in print statements). Also remove all embedded "vim:" and "vi:" statements which hide indentation problems. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- May 09, 2008
-
-
Marcel Ziswiler authored
Removed the second include, with all the #ifdef around as suggested by Wolfgang. Signed-off-by:
Marcel Ziswiler <marcel@ziswiler.com>
-
- Apr 28, 2008
-
-
Guennadi Liakhovetski authored
The IDE driver can use 32-bit addresses in LBA mode, in which case it spits multiple warnings during compilation. Fix them. Signed-off-by:
Guennadi Liakhovetski <g.liakhovetski@gmx.de>
-
- Apr 17, 2008
-
-
Martin Krause authored
According to the ata (ata5) specification the RESET- signal shall be asserted for at least 25 us. Without this patch, the RESET- signal is asserted on some boards for only < 1 us (e. g. on the TQM5200). This patch adds a general delay of 25 us to the RESET- signal. Without this patch a Platinum 4 GiB CF card is not recognised properly on boards with a TQM5200 (STK52xx, TB5200). Signed-off-by:
Martin Krause <martin.krause@tqs.de>
-
- Mar 12, 2008
-
-
Marian Balakowicz authored
This patch allocates a set of show_boot_progress() IDs for new uImage format and adds show_boot_progress() calls in new uImage format handling code. Signed-off-by:
Marian Balakowicz <m8@semihalf.com>
-