1. 14 11月, 2012 22 次提交
  2. 07 11月, 2012 1 次提交
  3. 06 11月, 2012 1 次提交
  4. 05 11月, 2012 16 次提交
    • T
      Merge branch 'master' of git://git.denx.de/u-boot-arm · 6acc7c3c
      Tom Rini 提交于
      6acc7c3c
    • W
      Makefile: use EXTRAVERSION for -rc? tag · a6e8dcaf
      Wolfgang Denk 提交于
      When using SUBLEVEL for the -rc? tag, this results in an ugly version
      string like "2013.01.-rc1" - let's use EXTRAVERSION instead to get the
      simple "2013.01-rc1"
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Signed-off-by: NTom Rini <trini@ti.com>
      a6e8dcaf
    • T
      Prepare v2013.01-rc1 · 3ae7b240
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@ti.com>
      3ae7b240
    • S
      patman: Add additional tags to ignore · 619dd5de
      Simon Glass 提交于
      The BRANCH= tag can be used to indicate the destination branch for a
      commit. Ignore this tag.
      
      Also ignore the gerrit 'Commit-Ready:' tag.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      619dd5de
    • T
      usb gadget ether: Fix warning in is_eth_addr_valid() · 57a87a25
      Tom Rini 提交于
      The gadget ethernet driver needs to keep copies of the MAC address (at
      both endpoints) as strings so it needs a custom function for validation
      of the MAC.  It was not however performing a totally correct check and
      also was emitting a warning about a set but unused variable.  The
      solution to both is that after checking the string contents we use the
      standard test for a valid MAC.
      
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Marek Vasut <marex@denx.de>
      Signed-off-by: NTom Rini <trini@ti.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      57a87a25
    • K
      ac63f2a2
    • K
      drivers/mtd/nand: sparse fixes · 7d2ab9ae
      Kim Phillips 提交于
      nand_ecc.c:82:5: warning: symbol 'nand_calculate_ecc' was not declared. Should it be static?
      nand_ecc.c:155:5: warning: symbol 'nand_correct_data' was not declared. Should it be static?
      nand_base.c:2854:1: error: directive in argument list
      nand_base.c:2856:1: error: directive in argument list
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Acked-by: NScott Wood <scottwood@freescale.com>
      7d2ab9ae
    • K
      drivers/mtd/cfi_flash.c: sparse fixes · 11dc4010
      Kim Phillips 提交于
      cfi_flash.c:756:43: warning: Using plain integer as NULL pointer
      cfi_flash.c:1150:52: warning: cast to non-scalar
      cfi_flash.c:1433:46: warning: cast truncates bits from constant value (890089 becomes 89)
      cfi_flash.c:1490:61: warning: cast truncates bits from constant value (1f001f becomes 1f)
      cfi_flash.c:1508:61: warning: cast truncates bits from constant value (10001 becomes 1)
      cfi_flash.c:1738:63: warning: cast truncates bits from constant value (10001 becomes 1)
      cfi_flash.c:1857:6: warning: symbol '__flash_cmd_reset' was not declared. Should it be static?
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      11dc4010
    • K
      drivers/mmc/fsl_esdhc.c: sparse fixes · eafa90a1
      Kim Phillips 提交于
      fsl_esdhc.c:71:6: warning: symbol 'esdhc_xfertyp' was not declared. Should it be static?
      fsl_esdhc.c:413:6: warning: symbol 'set_sysctl' was not declared. Should it be st
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      eafa90a1
    • K
      drivers/mmc/mmc.c: sparse fixes · fdbb873e
      Kim Phillips 提交于
      mmc.c:137:5: warning: symbol 'mmc_send_cmd' was not declared. Should it be static?
      mmc.c:203:5: warning: symbol 'mmc_send_status' was not declared. Should it be static?
      mmc.c:247:5: warning: symbol 'mmc_set_blocklen' was not declared. Should it be static?
      mmc.c:440:5: warning: symbol 'mmc_read_blocks' was not declared. Should it be static?
      mmc.c:510:5: warning: symbol 'mmc_go_idle' was not declared. Should it be static?
      mmc.c:532:1: warning: symbol 'sd_send_op_cond' was not declared. Should it be static?
      mmc.c:597:5: warning: symbol 'mmc_send_op_cond' was not declared. Should it be static?
      mmc.c:661:5: warning: symbol 'mmc_send_ext_csd' was not declared. Should it be static?
      mmc.c:683:5: warning: symbol 'mmc_switch' was not declared. Should it be static?
      mmc.c:705:5: warning: symbol 'mmc_change_freq' was not declared. Should it be static?
      mmc.c:775:5: warning: symbol 'sd_switch' was not declared. Should it be static?
      mmc.c:796:5: warning: symbol 'sd_change_freq' was not declared. Should it be static?
      mmc.c:935:6: warning: symbol 'mmc_set_ios' was not declared. Should it be static?
      mmc.c:953:6: warning: symbol 'mmc_set_bus_width' was not declared. Should it be static?
      mmc.c:1108:26: warning: dubious: !x & y
      mmc.c:960:5: warning: symbol 'mmc_startup' was not declared. Should it be static?
      mmc.c:1243:5: warning: symbol 'mmc_send_if_cond' was not declared. Should it be s
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      fdbb873e
    • K
      drivers/input/input.c: sparse fix · c14e94e5
      Kim Phillips 提交于
      input.c:97:5: warning: symbol 'input_queue_ascii' was not declared. Should it be
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      Acked-by: NSimon Glass <sjg@chromium.org>
      c14e94e5
    • K
      drivers/gpio/mpc83xx_gpio.c: sparse fixes · 8121d3c5
      Kim Phillips 提交于
      mpc83xx_gpio.c:166:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_f'
      mpc83xx_gpio.c:190:26: warning: non-ANSI function declaration of function 'mpc83xx_gpio_init_r'
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      8121d3c5
    • K
      drivers/block/: sparse fixes · 00caa7f5
      Kim Phillips 提交于
      sata_sil.c:371:7: warning: symbol 'sil_sata_rw_lba28' was not declared. Should it be static?
      sata_sil.c:399:7: warning: symbol 'sil_sata_rw_lba48' was not declared. Should it be static?
      sata_sil.c:429:6: warning: symbol 'sil_sata_cmd_flush_cache' was not declared. Should it be static?
      sata_sil.c:441:6: warning: symbol 'sil_sata_cmd_flush_cache_ext' was not declared. Should it be static?
      sata_sil.c:489:7: warning: symbol 'sata_read' was not declared. Should it be static?
      sata_sil.c:505:7: warning: symbol 'sata_write' was not declared. Should it be static?
      sata_sil.c:526:5: warning: symbol 'init_sata' was not declared. Should it be static?
      sata_sil.c:588:5: warning: symbol 'scan_sata' was not declared. Should it be static?
      fsl_sata.c:59:6: warning: symbol 'dprint_buffer' was not declared. Should it be static?
      fsl_sata.c:187:42: warning: incorrect type in assignment (different base types)
      fsl_sata.c:187:42:    expected unsigned int [unsigned] [usertype] cda
      fsl_sata.c:187:42:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:291:6: warning: symbol 'fsl_sata_hardware_reset' was not declared. Should it be static?
      fsl_sata.c:418:27: warning: incorrect type in assignment (different base types)
      fsl_sata.c:418:27:    expected unsigned int [unsigned] [usertype] dba
      fsl_sata.c:418:27:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:424:41: warning: incorrect type in assignment (different base types)
      fsl_sata.c:424:41:    expected unsigned int [unsigned] [usertype] ext_c_ddc
      fsl_sata.c:424:41:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:431:41: warning: incorrect type in assignment (different base types)
      fsl_sata.c:431:41:    expected unsigned int [unsigned] [usertype] ext_c_ddc
      fsl_sata.c:431:41:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:442:22: warning: incorrect type in assignment (different base types)
      fsl_sata.c:442:22:    expected unsigned int [unsigned] [usertype] cda
      fsl_sata.c:442:22:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:446:31: warning: incorrect type in assignment (different base types)
      fsl_sata.c:446:31:    expected unsigned int [unsigned] [usertype] prde_fis_len
      fsl_sata.c:446:31:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:448:22: warning: incorrect type in assignment (different base types)
      fsl_sata.c:448:22:    expected unsigned int [unsigned] [usertype] ttl
      fsl_sata.c:448:22:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:460:28: warning: incorrect type in assignment (different base types)
      fsl_sata.c:460:28:    expected unsigned int [unsigned] [usertype] attribute
      fsl_sata.c:460:28:    got restricted __le32 [usertype] <noident>
      fsl_sata.c:623:6: warning: symbol 'fsl_sata_flush_cache' was not declared. Should it be static?
      fsl_sata.c:667:5: warning: symbol 'fsl_sata_rw_ncq_cmd' was not declared. Should it be static?
      fsl_sata.c:710:6: warning: symbol 'fsl_sata_flush_cache_ext' was not declared. Should it be static?
      fsl_sata.c:725:6: warning: symbol 'fsl_sata_software_reset' was not declared. Should it be static?
      fsl_sata.c:760:5: warning: symbol 'ata_low_level_rw_lba48' was not declared. Should it be static?
      fsl_sata.c:795:5: warning: symbol 'ata_low_level_rw_lba28' was not declared. Should it be static?
      
      the following compiler warnings show up after fixing the above, so
      remove those three functions:
      
      fsl_sata.c:59:13: warning: 'dprint_buffer' defined but not used [-Wunused-function]
      fsl_sata.c:291:13: warning: 'fsl_sata_hardware_reset' defined but not used [-Wunused-function]
      fsl_sata.c:726:13: warning: 'fsl_sata_software_reset' defined but not used [-Wunused-function]
      
      Other than that, the following are fixed by __iomem annotation:
      
      fsl_sata.c:84:39: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:84:39:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:84:39:    got unsigned int volatile *addr
      fsl_sata.c:172:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:172:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:172:26:    got unsigned int *<noident>
      fsl_sata.c:175:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:175:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:175:19:    got unsigned int *<noident>
      fsl_sata.c:181:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:181:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:181:19:    got unsigned int *<noident>
      fsl_sata.c:184:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:184:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:184:26:    got unsigned int *<noident>
      fsl_sata.c:186:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:186:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:186:19:    got unsigned int *<noident>
      fsl_sata.c:189:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:189:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:189:26:    got unsigned int *<noident>
      fsl_sata.c:191:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:191:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:191:19:    got unsigned int *<noident>
      fsl_sata.c:194:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:194:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:194:26:    got unsigned int *<noident>
      fsl_sata.c:195:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:195:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:195:19:    got unsigned int *<noident>
      fsl_sata.c:198:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:198:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:198:19:    got unsigned int *<noident>
      fsl_sata.c:201:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:201:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:201:19:    got unsigned int *<noident>
      fsl_sata.c:204:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:204:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:204:26:    got unsigned int *<noident>
      fsl_sata.c:205:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:205:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:205:19:    got unsigned int *<noident>
      fsl_sata.c:208:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:208:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:208:26:    got unsigned int *<noident>
      fsl_sata.c:209:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:209:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:209:19:    got unsigned int *<noident>
      fsl_sata.c:212:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:212:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:212:26:    got unsigned int *<noident>
      fsl_sata.c:213:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:213:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:213:19:    got unsigned int *<noident>
      fsl_sata.c:216:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:216:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:216:19:    got unsigned int *<noident>
      fsl_sata.c:219:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:219:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:219:19:    got unsigned int *<noident>
      fsl_sata.c:222:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:222:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:222:19:    got unsigned int *<noident>
      fsl_sata.c:225:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:225:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:225:26:    got unsigned int *<noident>
      fsl_sata.c:227:19: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:227:19:    expected unsigned int volatile [noderef] <asn:2>*addr
      fsl_sata.c:227:19:    got unsigned int *<noident>
      fsl_sata.c:242:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:242:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:242:26:    got unsigned int *<noident>
      fsl_sata.c:256:32: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:256:32:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:256:32:    got unsigned int *<noident>
      fsl_sata.c:262:26: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:262:26:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:262:26:    got unsigned int *<noident>
      fsl_sata.c:274:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:274:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:274:53:    got unsigned int *<noident>
      fsl_sata.c:275:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:275:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:275:53:    got unsigned int *<noident>
      fsl_sata.c:276:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:276:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:276:53:    got unsigned int *<noident>
      fsl_sata.c:277:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:277:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:277:53:    got unsigned int *<noident>
      fsl_sata.c:278:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:278:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:278:53:    got unsigned int *<noident>
      fsl_sata.c:279:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:279:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:279:53:    got unsigned int *<noident>
      fsl_sata.c:280:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:280:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:280:53:    got unsigned int *<noident>
      fsl_sata.c:281:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:281:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:281:53:    got unsigned int *<noident>
      fsl_sata.c:282:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:282:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:282:53:    got unsigned int *<noident>
      fsl_sata.c:283:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:283:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:283:53:    got unsigned int *<noident>
      fsl_sata.c:284:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:284:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:284:53:    got unsigned int *<noident>
      fsl_sata.c:285:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:285:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:285:53:    got unsigned int *<noident>
      fsl_sata.c:286:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:286:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:286:53:    got unsigned int *<noident>
      fsl_sata.c:287:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:287:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:287:53:    got unsigned int *<noident>
      fsl_sata.c:288:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:288:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:288:53:    got unsigned int *<noident>
      fsl_sata.c:289:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:289:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:289:53:    got unsigned int *<noident>
      fsl_sata.c:290:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:290:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:290:53:    got unsigned int *<noident>
      fsl_sata.c:291:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:291:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:291:53:    got unsigned int *<noident>
      fsl_sata.c:292:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:292:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:292:53:    got unsigned int *<noident>
      fsl_sata.c:293:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:293:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:293:53:    got unsigned int *<noident>
      fsl_sata.c:294:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:294:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:294:53:    got unsigned int *<noident>
      fsl_sata.c:295:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:295:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:295:53:    got unsigned int *<noident>
      fsl_sata.c:296:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:296:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:296:53:    got unsigned int *<noident>
      fsl_sata.c:297:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:297:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:297:53:    got unsigned int *<noident>
      fsl_sata.c:298:53: warning: incorrect type in argument 1 (different address spaces)
      fsl_sata.c:298:53:    expected unsigned int const volatile [noderef] <asn:2>*addr
      fsl_sata.c:298:53:    got unsigned int *<noident>
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      00caa7f5
    • K
      powerpc/mpc83xx: sparse fixes · a2873bde
      Kim Phillips 提交于
      fdt.c:91:78: warning: Using plain integer as NULL pointer
      fdt.c:103:78: warning: Using plain integer as NULL pointer
      speed.c:55:11: warning: symbol 'corecnf_tab' was not declared. Should it be static?
      speed.c:519:5: warning: symbol 'do_clocks' was not declared. Should it be static?
      mpc8313erdb.c:73:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:74:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:75:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:76:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:79:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:80:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:81:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:82:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:85:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:86:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:87:17: warning: obsolete struct initializer, use C99 syntax
      mpc8313erdb.c:88:17: warning: obsolete struct initializer, use C99 syntax
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      a2873bde
    • K
      powerpc/mpc85xx: sparse fixes · e56143e5
      Kim Phillips 提交于
      fsl_corenet_serdes.c:485:6: warning: symbol '__soc_serdes_init' was not declared. Should it be static?
      cpu_init.c:185:6: warning: symbol 'invalidate_cpc' was not declared. Should it be static?
      bcsr.c:28:27: warning: non-ANSI function declaration of function 'enable_8568mds_duart'
      bcsr.c:39:33: warning: non-ANSI function declaration of function 'enable_8568mds_flash_write'
      bcsr.c:46:34: warning: non-ANSI function declaration of function 'disable_8568mds_flash_write'
      bcsr.c:53:29: warning: non-ANSI function declaration of function 'enable_8568mds_qe_mdio'
      bcsr.c:28:33: warning: non-ANSI function declaration of function 'enable_8569mds_flash_write'
      bcsr.c:33:34: warning: non-ANSI function declaration of function 'disable_8569mds_flash_write'
      bcsr.c:38:28: warning: non-ANSI function declaration of function 'enable_8569mds_qe_uec'
      bcsr.c:63:47: warning: non-ANSI function declaration of function 'disable_8569mds_brd_eeprom_write_protect'
      ngpixis.c:245:1: error: directive in argument list
      ngpixis.c:247:1: error: directive in argument list
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      e56143e5
    • K
      arch/powerpc/cpu/mpc8xxx/: sparse fixes · 2ed2e912
      Kim Phillips 提交于
      ctrl_regs.c:31:5: warning: symbol 'fsl_ddr_get_version' was not declared. Should it be static?
      cpu.c:135:14: warning: non-ANSI function declaration of function 'cpu_mask'
      cpu.c:154:18: warning: non-ANSI function declaration of function 'cpu_numcores'
      cpu.c:37:17: warning: symbol 'cpu_type_list' was not declared. Should it be static?
      cpu.c:117:17: warning: symbol 'cpu_type_unknown' was not declared. Should it be static?
      fsl_lbc.c:14:6: warning: symbol '__lbc_sdram_init' was not declared. Should it be static?
      
      and:
      
      lc_common_dimm_params.c:15:1: warning: symbol 'compute_cas_latency_ddr3' was not declared. Should it be static?
      
      making it static produces the following compiler warning:
      
      lc_common_dimm_params.c:15:1: warning: 'compute_cas_latency_ddr3' defined but not used [-Wunused-function]
      
      so we protect it with the preprocessor.
      Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
      2ed2e912