- 17 10月, 2012 7 次提交
-
-
由 Pavel Herrmann 提交于
move special case of ide_swap_read() for AU1X00 SoC into SoC-specific directory. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Make ide_led() a weak alias instead of global/local function/empty macro based on CONFIG_IDE_LED value and/or board-specific CONFIGs, to get rid of board-specific code in cmd_ide.c Define dummy values to get rid of compoler errors in case where ide_led() used to be an empty macro Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Move input_data() and friends to board/cpc45/ide.c, as overrides for weak aliases in cmd_ide.c note: checkpatch emits warnings about using volatile Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in cmd_ide.c) Also declare ide_bus_offset in the header file, so other files can use ATA_CURR_BASE as well. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
Move power control code from ide_reset() into IVM-specific IDE reset code. Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created ide_init_postreset() (invoked after calling ide_reset after ide_preinit), some cleanup to make checkpatch happy, enable IDE init hooks in configs of affected boards. confusingly, these hooks are used by more than just mpc8xx-based boards, and therefore are placed in arch/ppc/lib/ note: checkpatch still emits warnings about using volatile Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
由 Pavel Herrmann 提交于
There is no difference in codepath with CONFIG_SC3 enabled, so just remove it Signed-off-by: NPavel Herrmann <morpheus.ibis@gmail.com>
-
- 16 10月, 2012 1 次提交
-
-
由 Tom Rini 提交于
After taking with the former maintainer, delete this platform. The patch is from the former maintainer. Signed-off-by: NTom Rini <trini@ti.com>
-
- 26 9月, 2012 1 次提交
-
-
由 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>
-
- 19 3月, 2012 3 次提交
-
-
由 Simon Glass 提交于
These calls should not be made directly any more, since bootstage will call the show_boot_...() functions as needed. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
This changes over the IDE progress numbers to use enums from bootstage.h. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
由 Simon Glass 提交于
Rather than the caller negating our progress numbers to indicate an error has occurred, which seems hacky, add a function to indicate this. Signed-off-by: NSimon Glass <sjg@chromium.org> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 07 3月, 2012 1 次提交
-
-
由 Simon Glass 提交于
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: NSimon Glass <sjg@chromium.org>
-
- 04 11月, 2011 2 次提交
-
-
由 Wolfgang Denk 提交于
Fix: cmd_ide.c: In function 'ide_ident': cmd_ide.c:988:6: warning: variable 'do_retry' set but not used [-Wunused-but-set-variable] Delete the unused variable. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Make file acceptable to checkpatch. This is only a basic clean up to the extend possible without any real changes to the source code. Warnings due to line over 80 characters were accepted because these affect only printf()s with user visible strings. No attempts were made to fix warnings about volatile and externs - these need a more thorough cleanup. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 28 10月, 2011 2 次提交
-
-
由 Marek Vasut 提交于
cmd_ide.c: In function ‘ide_read’: cmd_ide.c:1227:2: warning: format ‘%LX’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘lbaint_t’ [-Wformat] Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Cc: Mike Frysinger <vapier@gentoo.org>
-
由 Lei Wen 提交于
For files like the drivers/serial/serial.c, it must include the platform file, as the CONFIG_SYS_NS16550_COM1 must reference to the definition in the platform definition files. Include the platform definition file in the config file, so that it would decouple the dependence for the driver files. Signed-off-by: NLei Wen <leiwen@marvell.com>
-
- 02 10月, 2011 1 次提交
-
-
由 Marek Vasut 提交于
Signed-off-by: NMarek Vasut <marek.vasut@gmail.com> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 26 7月, 2011 2 次提交
-
-
由 Matthew McClintock 提交于
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: NMatthew McClintock <msm@freescale.com>
-
由 Mike Frysinger 提交于
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: NMatthew McClintock <msm@freescale.com> Acked-by: NScott Wood <scottwood@freescale.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 01 5月, 2011 2 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
由 Macpaul Lin 提交于
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: NMacpaul Lin <macpaul@andestech.com>
-
- 05 2月, 2011 1 次提交
-
-
由 Shinya Kuribayashi 提交于
commit 8bde63eb ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one. Signed-off-by: NShinya Kuribayashi <skuribay@pobox.com>
-
- 12 1月, 2011 1 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 29 11月, 2010 2 次提交
-
-
由 Mike Frysinger 提交于
Use the new helper func to clean up duplicate logic handling of the autostart env var. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
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: NMike Frysinger <vapier@gentoo.org>
-
- 20 9月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 08 8月, 2010 3 次提交
-
-
由 Prafulla Wadaskar 提交于
Added MVSATAC definitions to Kirkwood. Added support for Kirkwood in cmd_ide. Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Albert Aribaud 提交于
Add MVSATAHC definitions to orion5x. Add support for orion5x in cmd_ide. Signed-off-by: NAlbert Aribaud <albert.aribaud@free.fr>
-
由 Albert Aribaud 提交于
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: NAlbert Aribaud <albert.aribaud@free.fr>
-
- 25 7月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 05 7月, 2010 2 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 24 6月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 09 12月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
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: NHeiko Schocher <hs@denx.de>
-
- 03 10月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
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: NHeiko Schocher <hs@denx.de>
-
- 25 9月, 2009 1 次提交
-
-
由 Heiko Schocher 提交于
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: NHeiko Schocher <hs@denx.de>
-
- 13 6月, 2009 2 次提交
-
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de> Cc: John Rigby <jcrigby@gmail.com>
-
由 Wolfgang Denk 提交于
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: NWolfgang Denk <wd@denx.de>
-
- 21 5月, 2009 1 次提交
-
-
由 Kim Phillips 提交于
cmd_ide.c:547: error: inline function 'ide_inb' cannot be declared weak removing the inline attribute fixes it. Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-