1. 28 10月, 2011 40 次提交
    • M
      GCC4.6: Fix warnings in pxa_mmc.c · a231f04f
      Marek Vasut 提交于
      pxa_mmc.c: In function 'mmc_cmd':
      pxa_mmc.c:77:2: warning: format '%08x' expects type 'unsigned int', but argument
      2 has type 'ulong'
      pxa_mmc.c: In function 'mmc_block_read':
      pxa_mmc.c:110:2: warning: format '%d' expects type 'int', but argument 4 has
      type 'ulong'
      pxa_mmc.c: In function 'pxa_mmc_write':
      pxa_mmc.c:327:2: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'uchar *'
      pxa_mmc.c:349:2: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'uchar *'
      pxa_mmc.c:354:3: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'uchar *'
      pxa_mmc.c:362:2: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'uchar *'
      pxa_mmc.c:367:3: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'uchar *'
      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>
      a231f04f
    • M
      GCC4.6: Squash error in pcmcia/i82365.c · 66d1a2e3
      Marek Vasut 提交于
      i82365.c: In function 'cirrus_set_opts':
      i82365.c:329: error: 'buf' undeclared (first use in this function)
      i82365.c:329: error: (Each undeclared identifier is reported only once
      i82365.c:329: error: for each function it appears in.)
      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>
      66d1a2e3
    • M
      GCC4.6: Squash warnings in tqm8xx_pcmcia.c · 3ebafbf6
      Marek Vasut 提交于
      tqm8xx_pcmcia.c: In function 'power_off':
      tqm8xx_pcmcia.c:46: warning: passing argument 1 of 'out_be32' makes pointer from
      integer without a cast
      tqm8xx_pcmcia.c: In function 'power_on_5_0':
      tqm8xx_pcmcia.c:52: warning: passing argument 1 of 'out_be32' makes pointer from
      integer without a cast
      tqm8xx_pcmcia.c: In function 'power_on_3_3':
      tqm8xx_pcmcia.c:58: warning: passing argument 1 of 'out_be32' makes pointer from
      integer without a cast
      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>
      3ebafbf6
    • M
      GCC4.6: Squash warnings in sata_sil3114.c · 5779a9e2
      Marek Vasut 提交于
      sata_sil3114.c: In function 'sata_identify':
      sata_sil3114.c:174: warning: format '%x' expects type 'unsigned int', but
      argument 2 has type 'lbaint_t'
      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>
      5779a9e2
    • M
      GCC4.6: Squash warnings in fsl_pci_init.c · d015df8f
      Marek Vasut 提交于
      fsl_pci_init.c: In function 'fsl_pci_init':
      fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but
      argument 6 has type 'long unsigned int'
      fsl_pci_init.c:347: warning: format '%x' expects type 'unsigned int', but
      argument 2 has type 'volatile u32 *'
      
      fsl_pci_init.c: In function 'fsl_pci_init':
      fsl_pci_init.c:308: warning: format '%016llx' expects type 'long long unsigned
      int', but argument 4 has type 'pci_addr_t'
      fsl_pci_init.c:308: warning: format '%016llx' expects type 'long long unsigned
      int', but argument 5 has type 'pci_size_t'
      fsl_pci_init.c:308: warning: format '%08x' expects type 'unsigned int', but
      argument 6 has type 'long unsigned int'
      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>
      d015df8f
    • M
      GCC4.6: Squash warnings in fsl_espi.c · 5cc08a17
      Marek Vasut 提交于
      fsl_espi.c: In function 'spi_setup_slave':
      fsl_espi.c:100: warning: format '%d' expects type 'int', but argument 3 has type
      'long unsigned int'
      fsl_espi.c: In function 'spi_xfer':
      fsl_espi.c:237: warning: format '%08x' expects type 'unsigned int', but argument
      5 has type 'const void *'
      fsl_espi.c:237: warning: format '%08x' expects type 'unsigned int', but argument
      7 has type 'void *'
      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>
      5cc08a17
    • M
      GCC4.6: Squash warnings in ahci.c · 1a928ed9
      Marek Vasut 提交于
      ahci.c: In function 'ahci_port_start':
      ahci.c:401: warning: format '%x' expects type 'unsigned int', but argument 2 has
      type 'struct ahci_cmd_hdr *'
      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>
      1a928ed9
    • M
      GCC4.6: Squash warnings in 4xx_enet.c · c97e74af
      Marek Vasut 提交于
      4xx_enet.c: In function 'ppc_4xx_eth_init':
      4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but
      argument 2 has type 'volatile struct mal_desc_t *'
      4xx_enet.c:1352: warning: format '%08x' expects type 'unsigned int', but
      argument 3 has type 'volatile struct mal_desc_t *'
      4xx_enet.c:1365: warning: format '%08lx' expects type 'long unsigned int', but
      argument 3 has type 'unsigned int'
      4xx_enet.c:1376: warning: format '%08lx' expects type 'long unsigned int', but
      argument 3 has type 'unsigned int'
      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>
      c97e74af
    • M
      GCC4.6: Squash warning in jedec_flash.c · f382b7c5
      Marek Vasut 提交于
      jedec_flash.c: In function 'fill_info':
      jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but
      argument 2 has type 'ulong'
      jedec_flash.c:393: warning: format '%x' expects type 'unsigned int', but
      argument 3 has type 'ulong'
      jedec_flash.c:402: warning: format '%d' expects type 'int', but argument 2 has
      type 'ulong'
      jedec_flash.c:402: warning: format '%d' expects type 'int', but argument 3 has
      type 'ulong'
      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>
      Cc: Scott Wood <scottwood@freescale.com>
      f382b7c5
    • M
      GCC4.6: Squash warning in cfi_flash.c · 31d34143
      Marek Vasut 提交于
      cfi_flash.c: In function 'flash_protect_default':
      cfi_flash.c:2152: warning: format '%08x' expects type 'unsigned int', but
      argument 2 has type 'ulong'
      cfi_flash.c:2152: warning: format '%08x' expects type 'unsigned int', but
      argument 3 has type 'long unsigned int'
      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>
      Cc: Scott Wood <scottwood@freescale.com>
      31d34143
    • M
      GCC4.6: Squash warning in cfb_console.c · 68da5b19
      Marek Vasut 提交于
      cfb_console.c: In function 'video_display_bitmap':
      cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 2 has
      type 'long unsigned int'
      cfb_console.c:1148: warning: format '%d' expects type 'int', but argument 3 has
      type 'long unsigned int'
      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>
      68da5b19
    • M
      GCC4.6: Squash undefined variable in cmd_mtdparts.c · 35e9d698
      Marek Vasut 提交于
      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>
      35e9d698
    • M
      GCC4.6: Squash subsequent warnings in usb_storage.c · 4b210e8b
      Marek Vasut 提交于
      usb_storage.c: In function ‘us_one_transfer’:
      usb_storage.c:377:7: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:389:6: warning: format ‘%d’ expects argument of type ‘int’, but
      argument 2 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:394:6: warning: format ‘%d’ expects argument of type ‘int’, but
      argument 2 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c: In function ‘usb_stor_BBB_reset’:
      usb_storage.c:442:2: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:448:2: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:454:2: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c: In function ‘usb_stor_CB_reset’:
      usb_storage.c:482:2: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c: In function ‘usb_stor_CB_comdat’:
      usb_storage.c:572:3: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:584:4: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c: In function ‘usb_stor_BBB_transport’:
      usb_storage.c:782:3: warning: format ‘%d’ expects argument of type ‘int’, but
      argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c: In function ‘usb_stor_CB_transport’:
      usb_storage.c:807:2: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:830:3: warning: format ‘%X’ expects argument of type ‘unsigned
      int’, but argument 2 has type ‘long unsigned int’ [-Wformat]
      usb_storage.c:857:3: warning: format ‘%d’ expects argument of type ‘int’, but
      argument 2 has type ‘long unsigned int’ [-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>
      Cc: Remy Bohmer <linux@bohmer.net>
      4b210e8b
    • M
      GCC4.6: Squash warning in usb_storage.c · 86bd3ff8
      Marek Vasut 提交于
      usb_storage.c: In function ‘usb_stor_CB_reset’:
      usb_storage.c:466:6: warning: variable ‘result’ set but not used
      [-Wunused-but-set-variable]
      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>
      86bd3ff8
    • 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
    • M
      GCC4.6: Squash warnings in common/usb.c · 88ec8c12
      Marek Vasut 提交于
      usb.c: In function ‘usb_parse_config’:
      usb.c:331:17: warning: variable ‘ch’ set but not used
      [-Wunused-but-set-variable]
      usb.c: In function ‘usb_hub_port_connect_change’:
      usb.c:1123:29: warning: variable ‘portchange’ set but not used
      [-Wunused-but-set-variable]
      usb.c: In function ‘usb_hub_configure’:
      usb.c:1183:25: warning: variable ‘hubsts’ set but not used
      [-Wunused-but-set-variable]
      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>
      88ec8c12
    • M
      GCC4.6: Add macros to mv_gen_reg.h · 25a8c4f5
      Marek Vasut 提交于
      interrupts.c: In function 'interrupt_init_cpu':
      interrupts.c:40: error: 'ETHERNET0_INTERRUPT_CAUSE_REGISTER' undeclared (first
      use in this function)
      interrupts.c:40: error: (Each undeclared identifier is reported only once
      interrupts.c:40: error: for each function it appears in.)
      interrupts.c:40: error: 'ETHERNET1_INTERRUPT_CAUSE_REGISTER' undeclared (first
      use in this function)
      interrupts.c:40: error: 'ETHERNET2_INTERRUPT_CAUSE_REGISTER' undeclared (first
      use in this function)
      interrupts.c:44: error: 'ETHERNET0_INTERRUPT_MASK_REGISTER' undeclared (first
      use in this function)
      interrupts.c:44: error: 'ETHERNET1_INTERRUPT_MASK_REGISTER' undeclared (first
      use in this function)
      interrupts.c:44: error: 'ETHERNET2_INTERRUPT_MASK_REGISTER' undeclared (first
      use in this function)
      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>
      25a8c4f5
    • M
      GCC4.6: Squash error in cpc45/pd67290.c · 17f5f1e2
      Marek Vasut 提交于
      pd67290.c: In function 'cirrus_set_opts':
      pd67290.c:282: error: 'buf' undeclared (first use in this function)
      pd67290.c:282: error: (Each undeclared identifier is reported only once
      pd67290.c:282: error: for each function it appears in.)
      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>
      17f5f1e2
    • M
      GCC4.6: Squash warnings in PPChameleonEVB/flash.c · 2e59cb63
      Marek Vasut 提交于
      flash.c: In function 'flash_init':
      flash.c:54: warning: format '%08X' expects type 'unsigned int', but argument 4
      has type 'struct flash_info_t *'
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      2e59cb63
    • M
      GCC4.6: Squash warnings in r360mpi/flash.c · d6248f40
      Marek Vasut 提交于
      flash.c: In function 'flash_get_size':
      flash.c:222: warning: format '%08lx' expects type 'long unsigned int', but
      argument 3 has type 'int'
      flash.c:238: warning: format '%08lx' expects type 'long unsigned int', but
      argument 3 has type 'int'
      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>
      d6248f40
    • M
      GCC4.6: Squash warnings in pmc405de.c · 9cf5dee7
      Marek Vasut 提交于
      pmc405de.c: In function 'do_painit':
      pmc405de.c:444: warning: format '%08x' expects type 'unsigned int', but argument
      2 has type 'phys_size_t'
      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>
      9cf5dee7
    • M
      GCC4.6: Squash warning in cmd_pmc440.c · 2bf0758a
      Marek Vasut 提交于
      cmd_pmc440.c: In function 'do_painit':
      cmd_pmc440.c:371: warning: format '%08x' expects type 'unsigned int', but
      argument 2 has type 'phys_size_t'
      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>
      2bf0758a
    • M
      GCC4.6: Squash warnings in tqm834x.c · 3d54639c
      Marek Vasut 提交于
      tqm834x.c: In function 'initdram':
      tqm834x.c:126: warning: format '%d' expects type 'int', but argument 3 has type
      'long int'
      tqm834x.c: In function 'set_cs_bounds':
      tqm834x.c:336: warning: format '%08x' expects type 'unsigned int', but argument
      2 has type 'long int'
      tqm834x.c:336: warning: format '%08x' expects type 'unsigned int', but argument
      3 has type 'long int'
      tqm834x.c: In function 'set_cs_config':
      tqm834x.c:354: warning: format '%08x' expects type 'unsigned int', but argument
      2 has type 'long int'
      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>
      3d54639c
    • M
      GCC4.6: Squash warnings in mpc8610hpcd.c · 7315ab22
      Marek Vasut 提交于
      mpc8610hpcd.c: In function 'misc_init_r':
      mpc8610hpcd.c:79: warning: format '%02lx' expects type 'long unsigned int', but
      argument 2 has type 'int'
      mpc8610hpcd.c:86: warning: format '%02lx' expects type 'long unsigned int', but
      argument 2 has type 'int'
      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>
      7315ab22
    • M
      GCC4.6: Squash warnings in diu.c · 1f09b44c
      Marek Vasut 提交于
      diu.c: In function 'diu_set_pixel_clock':
      diu.c:77: warning: format '%lu' expects type 'long unsigned int', but argument 2
      has type 'u32'
      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>
      1f09b44c
    • M
      GCC4.6: Squash warning in mpc5121ads.c · dffe06fa
      Marek Vasut 提交于
      mpc5121ads.c: In function 'misc_init_r':
      mpc5121ads.c:256: warning: format '%02lx' expects type 'long unsigned int', but
      argument 2 has type 'int'
      mpc5121ads.c:263: warning: format '%02lx' expects type 'long unsigned int', but
      argument 2 has type 'int'
      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>
      dffe06fa
    • M
      GCC4.6: Squash warnings in mpc86xx/interrupts.c · 7f2229b5
      Marek Vasut 提交于
      interrupts.c: In function 'interrupt_init_cpu':
      interrupts.c:62: warning: format '%d' expects type 'int', but argument 2 has
      type 'long unsigned int'
      interrupts.c:69: warning: format '%x' expects type 'unsigned int', but argument
      2 has type 'volatile uint *'
      interrupts.c:72: warning: format '%x' expects type 'unsigned int', but argument
      2 has type 'volatile uint *'
      interrupts.c:75: warning: format '%x' expects type 'unsigned int', but argument
      2 has type 'volatile uint *'
      interrupts.c:79: warning: format '%x' expects type 'unsigned int', but argument
      2 has type 'volatile uint *'
      interrupts.c:83: warning: format '%x' expects type 'unsigned int', but argument
      2 has type 'volatile uint *'
      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>
      7f2229b5
    • M
      GCC4.6: Squash warnings in ddr[123]_dimm_params.c · cd84b1fa
      Marek Vasut 提交于
      ddr1_dimm_params.c: In function 'compute_ranksize':
      ddr1_dimm_params.c:44: warning: format '%08x' expects type 'unsigned int', but
      argument 2 has type 'long long unsigned int'
      
      ddr2_dimm_params.c: In function 'compute_ranksize':
      ddr2_dimm_params.c:43: warning: format '%08x' expects type 'unsigned int', but
      argument 2 has type 'long long unsigned int'
      
      ddr3_dimm_params.c: In function 'compute_ranksize':
      ddr3_dimm_params.c:74: warning: format '%16lx' expects type 'long unsigned int',
      but argument 2 has type 'long long unsigned int'
      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>
      Acked-by: NKumar Gala <galak@kernel.crashing.org>
      cd84b1fa
    • M
      GCC4.6: Squash warnings in 4xx_pcie.c · e7fb8ba3
      Marek Vasut 提交于
      4xx_pcie.c: In function 'pcie_read_config':
      4xx_pcie.c:268: warning: format '%08x' expects type 'unsigned int', but argument
      3 has type 'volatile unsigned char *'
      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>
      e7fb8ba3
    • M
      GCC4.6: Squash warnings in 4xx_ibm_ddr2_autocalib.c · bd78ef90
      Marek Vasut 提交于
      4xx_ibm_ddr2_autocalib.c: In function 'DQS_calibration_methodB':
      4xx_ibm_ddr2_autocalib.c:910: warning: format '%08X' expects type 'unsigned
      int', but argument 2 has type 'ulong'
      4xx_ibm_ddr2_autocalib.c:911: warning: format '%08X' expects type 'unsigned
      int', but argument 2 has type 'ulong'
      4xx_ibm_ddr2_autocalib.c: In function 'DQS_autocalibration':
      4xx_ibm_ddr2_autocalib.c:1217: warning: format '%08x' expects type 'unsigned
      int', but argument 2 has type 'ulong'
      4xx_ibm_ddr2_autocalib.c:1230: warning: format '%08x' expects type 'unsigned
      int', but argument 2 has type 'ulong'
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      bd78ef90
    • M
      GCC4.6: Squash warnings in 44x_spd_ddr.c · 73dc3075
      Marek Vasut 提交于
      44x_spd_ddr.c: In function 'program_tr0':
      44x_spd_ddr.c:823: warning: format '%x' expects type 'unsigned int', but
      argument 2 has type 'long unsigned int'
      44x_spd_ddr.c: In function 'program_tr1':
      44x_spd_ddr.c:1054: warning: format '%x' expects type 'unsigned int', but
      argument 2 has type 'long unsigned int'
      44x_spd_ddr.c: In function 'program_bxcr':
      44x_spd_ddr.c:1127: warning: format '%d' expects type 'int', but argument 2 has
      type 'long unsigned int'
      44x_spd_ddr.c:1196: warning: format '%d' expects type 'int', but argument 2 has
      type 'long unsigned int'
      44x_spd_ddr.c:1196: warning: format '%d' expects type 'int', but argument 3 has
      type 'long unsigned int'
      44x_spd_ddr.c:1196: warning: format '%d' expects type 'int', but argument 4 has
      type 'long unsigned int'
      44x_spd_ddr.c:1196: warning: format '%d' expects type 'int', but argument 5 has
      type 'long unsigned int'
      44x_spd_ddr.c:1242: warning: format '%d' expects type 'int', but argument 2 has
      type 'long unsigned int'
      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>
      73dc3075
    • M
      GCC4.6: Squash warnings in denali_spd_ddr2.c · ae484ba1
      Marek Vasut 提交于
      denali_spd_ddr2.c: In function 'get_spd_info':
      denali_spd_ddr2.c:363: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'check_frequency':
      denali_spd_ddr2.c:390: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'get_dimm_size':
      denali_spd_ddr2.c:473: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:474: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:475: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:476: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_03':
      denali_spd_ddr2.c:571: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:604: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:604: warning: format '%d' expects type 'int', but argument 3
      has type 'long unsigned int'
      denali_spd_ddr2.c:643: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:644: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:645: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:646: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:676: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_04':
      denali_spd_ddr2.c:731: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:733: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:735: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_05':
      denali_spd_ddr2.c:772: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:774: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_06':
      denali_spd_ddr2.c:831: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:833: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_11':
      denali_spd_ddr2.c:860: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_26':
      denali_spd_ddr2.c:931: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c:933: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_27':
      denali_spd_ddr2.c:944: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_43':
      denali_spd_ddr2.c:978: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_spd_ddr2.c: In function 'program_ddr0_44':
      denali_spd_ddr2.c:1006: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      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>
      ae484ba1
    • M
      GCC4.6: Squash warnings in denali_data_eye.c · b6d5040b
      Marek Vasut 提交于
      denali_data_eye.c: In function
      'denali_core_search_data_eye':denali_spd_ddr2.c:646: warning: format '%d'
      expects type 'int', but argument 2 has type 'long unsigned int'
      
      denali_data_eye.c:320: warning: format '%08lx' expects type 'long unsigned int',
      but argument 2 has type 'u32'
      denali_data_eye.c:330: warning: format '%08lx' expects type 'long unsigned int',
      but argument 2 has type 'u32'
      denali_spd_ddr2.c:676: warning: format '%d' expects type 'int', but argument 2
      has type 'long unsigned int'
      denali_data_eye.c:340: warning: format '%08lx' expects type 'long unsigned int',
      but argument 2 has type 'u32'
      denali_data_eye.c:350: warning: format '%08lx' expects type 'long unsigned int',
      but argument 2 has type 'u32'
      denali_data_eye.c:360: warning: format '%08lx' expects type 'long unsigned int',
      but argument 2 has type 'u32'
      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>
      b6d5040b
    • M
      PowerPC: Squash warning in mpc512x serial.c · 506b9f2b
      Marek Vasut 提交于
      serial.c: In function 'serial_setbrg_dev':
      serial.c:143: warning: format '%d' expects type 'int', but argument 4 has type
      'long unsigned int'
      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>
      506b9f2b
    • H
      cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT · 9660e442
      Helmut Raiger 提交于
      This renames BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT.
      Along the way it removes some leftover
      
       #define BOARD_LATE_INIT		1
      
      and adds some basic documentation for board specific
      callbacks in README.
      Signed-off-by: NHelmut Raiger <helmut.raiger@hale.at>
      Acked-by: NStefano Babic <sbabic@denx.de>
      9660e442
    • D
      disk: part_efi: fix **pgpt_pte == NULL · deb5ca80
      Doug Anderson 提交于
      Code was setting **pgpt_pte == NULL, which meant that the pointer
      to the gpt_pte would be stored at RAM address 00000000. This 'worked'
      on T20 (SDRAM starts @ 0x00000000), but hung gpt/EFI access on T30
      (SDRAM starts @ 0x80000000).
      Signed-off-by: NTom Warren <twarren@nvidia.com>
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      deb5ca80
    • D
      cosmetic: Replace __FUNCTION__ with __func__ in part_efi.c · df70b1c2
      Doug Anderson 提交于
      This makes checkpatch happy.
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      df70b1c2
    • W
      README: improve documentation of network related CONFIG_ settings · 1ebcd654
      Wolfgang Denk 提交于
      Add documentation for CONFIG_GATEWAYIP and CONFIG_NETMASK;
      also add information which environment variables are set.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Acked-by: NSimon Glass <sjg@chromium.org>
      1ebcd654
    • W
      README: white-space cleanup · c0f40859
      Wolfgang Denk 提交于
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      c0f40859
    • T
      image: Fix inverted logic in architecture check. · 7566832a
      Thierry Reding 提交于
      Commit 476af299 broke this check when the ifdef lists we consolidated.
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      Acked-by: NMike Frysinger <vapier@gentoo.org>
      7566832a