1. 17 10月, 2012 7 次提交
  2. 16 10月, 2012 1 次提交
  3. 26 9月, 2012 1 次提交
  4. 19 3月, 2012 3 次提交
  5. 07 3月, 2012 1 次提交
  6. 04 11月, 2011 2 次提交
    • W
      common/cmd_ide.c: fix GCC 4.6 build warnings · a2b92a65
      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>
      a2b92a65
    • W
      common/cmd_ide.c: CodingStyle cleanup · 34c202c7
      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>
      34c202c7
  7. 28 10月, 2011 2 次提交
    • M
      GCC4.6: Squash warning in cmd_ide.c · 5bbe10dd
      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>
      5bbe10dd
    • L
      ARM: orion5x: reduce dependence of including platform file · 5ff8b354
      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>
      5ff8b354
  8. 02 10月, 2011 1 次提交
  9. 26 7月, 2011 2 次提交
  10. 01 5月, 2011 2 次提交
    • W
      IDE: fix compiler warnings · 96d04c31
      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>
      96d04c31
    • M
      cmd_ide: enhance new feature "CONFIG_IDE_AHB" · 0abddf82
      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>
      0abddf82
  11. 05 2月, 2011 1 次提交
  12. 12 1月, 2011 1 次提交
  13. 29 11月, 2010 2 次提交
  14. 20 9月, 2010 1 次提交
    • W
      Remove HMI10 board support · 77efe35f
      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>
      77efe35f
  15. 08 8月, 2010 3 次提交
  16. 25 7月, 2010 1 次提交
  17. 05 7月, 2010 2 次提交
    • W
      Make sure that argv[] argument pointers are not modified. · 54841ab5
      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>
      54841ab5
    • W
      cmd_ide.c: fix unused variable warning for SC3 board · cd47a83b
      Wolfgang Denk 提交于
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      cd47a83b
  18. 24 6月, 2010 1 次提交
    • W
      Remove AmigaOneG3SE board · 953b7e62
      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>
      953b7e62
  19. 09 12月, 2009 1 次提交
  20. 03 10月, 2009 1 次提交
  21. 25 9月, 2009 1 次提交
  22. 13 6月, 2009 2 次提交
    • W
      MPC512x: remove include/mpc512x.h · 3b74e7ec
      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>
      3b74e7ec
    • W
      General help message cleanup · a89c33db
      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>
      a89c33db
  23. 21 5月, 2009 1 次提交