1. 19 9月, 2012 3 次提交
    • M
      dm: sparc: common: Fixup cmd_bdinfo warnings · d97f01a6
      Marek Vasut 提交于
      cmd_bdinfo.c: In function ‘do_bdinfo’:
      cmd_bdinfo.c:220:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat]
      cmd_bdinfo.c:222:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat]
      cmd_bdinfo.c:224:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat]
      cmd_bdinfo.c:226:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat]
      cmd_bdinfo.c:228:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat]
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: u-boot-dm@lists.denx.de
      d97f01a6
    • M
      dm: sparc: net: Fixup greth compile warnings · fa2afe02
      Marek Vasut 提交于
      greth.c: In function ‘greth_recv’:
      greth.c:507:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat]
      greth.c:507:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat]
      greth.c:541:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
      greth.c: In function ‘greth_initialize’:
      greth.c:623:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘struct greth_regs *’ [-Wformat]
      greth.c:655:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘struct greth_regs *’ [-Wformat]
      greth.c:684:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘struct greth_regs *’ [-Wformat]
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Joe Hershberger <joe.hershberger@gmail.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: u-boot-dm@lists.denx.de
      fa2afe02
    • T
      mxc nand: Fix warning on !MXC_NFC_V2_1 · efa1f43b
      Tom Rini 提交于
      In board_nand_init() we only need the 'tmp' variable if MXC_NFC_V2_1 is
      defined.
      Signed-off-by: NTom Rini <trini@ti.com>
      efa1f43b
  2. 18 9月, 2012 21 次提交
  3. 17 9月, 2012 2 次提交
  4. 15 9月, 2012 1 次提交
    • M
      fdt: Check if the FDT address is configured · e02c9458
      Marek Vasut 提交于
      In case the "fdt addr" command wasn't ran yet and any other "fdt"
      subcommand was issued, the system crashed due to NULL pointer being
      used.
      
      This is caused by "fdt addr" command setting up a pointer to the
      FDT memory location. Prior issuing "fdt addr", the pointer is NULL
      so calling any other subcommands crashed the u-boot.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      e02c9458
  5. 14 9月, 2012 2 次提交
  6. 13 9月, 2012 4 次提交
  7. 11 9月, 2012 7 次提交