1. 28 Jun, 2012 1 commit
  2. 17 Nov, 2011 3 commits
  3. 16 Nov, 2011 36 commits
    • Orphan EVB64260_750CX board · 6005ed55
      Wolfgang Denk authored
      The last maintainer (Eran Man) cannot be reached any more.
      Signed-off-by: 's avatarWolfgang Denk <wd@denx.de>
    • Revert "sandbox: Change md command to use map_physmem" · 94c50f11
      Kumar Gala authored
      This reverts commit 355a8357.
      
      The original commit broke long standing assumption that md commands work
      on effective addresses.  This normally isn't an issue for most systems
      that map 1:1, however on systems with a 36-bit address map it breaks.
      Signed-off-by: 's avatarKumar Gala <galak@kernel.crashing.org>
    • common: tsi148 - fix gcc 4.6 compiler warning · e1a37f85
      Kim Phillips authored
      Configuring for vme8349 board...
      cmd_tsi148.c: In function 'tsi148_init':
      cmd_tsi148.c:56:17: warning: variable 'lastError' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarKim Phillips <kim.phillips@freescale.com>
    • mpc83xx: km83xx_i2c - fix gcc 4.6 compiler warning · 67eee06c
      Kim Phillips authored
      Configuring for kmeter1 board...
      km83xx_i2c.c: In function 'i2c_make_abort':
      km83xx_i2c.c:44:8: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarKim Phillips <kim.phillips@freescale.com>
      Acked-by: 's avatarHeiko Schocher <hs@denx.de>
    • mpc83xx: mpc8360emds - fix gcc 4.6 compiler warning · b86c7709
      Kim Phillips authored
      Configuring for MPC8360EMDS_66_HOST_33 - Board: MPC8360EMDS, Options: CLKIN_66MHZ,PCI,PCI_33M,PQ_MDS_PIB=1
      mpc8360emds.c: In function 'board_eth_init':
      mpc8360emds.c:178:12: warning: array subscript is above array bounds [-Warray-bounds]
      Signed-off-by: 's avatarKim Phillips <kim.phillips@freescale.com>
    • mpc83xx: spd_sdram - fix gcc 4.6 compiler warning · 9da752e9
      Kim Phillips authored
      Configuring for sbc8349 board...
      spd_sdram.c: In function 'spd_sdram':
      spd_sdram.c:152:41: warning: variable 'trfc_high' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarKim Phillips <kim.phillips@freescale.com>
    • Fix warnings in yaffs · 986bb0e6
      Simon Glass authored
      Sorry if this is already fixed somewhere - I could not find it.
      
      This fixes the warnings show below.
      
      yaffs_tagscompat.c: In function 'yaffs_TagsCompatabilityReadChunkWithTagsFromNAND':
      yaffs_tagscompat.c:151: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:150: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:149: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:148: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:147: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:146: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:145: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:144: warning: dereferencing pointer 'tu' does break strict-aliasing rules
      yaffs_tagscompat.c:141: note: initialized from here
      Signed-off-by: 's avatarSimon Glass <sjg@chromium.org>
    • drivers/rtc/s3c24x0_rtc.c: fix GCC 4.6 warnings · f45e91c4
      Anatolij Gustschin authored
      Fix:
      s3c24x0_rtc.c: In function 'rtc_get':
      s3c24x0_rtc.c:67:53: warning: variable 'a_armed' set but not used
      s3c24x0_rtc.c:67:45: warning: variable 'a_year' set but not used
      s3c24x0_rtc.c:67:38: warning: variable 'a_mon' set but not used
      s3c24x0_rtc.c:67:30: warning: variable 'a_date' set but not used
      s3c24x0_rtc.c:67:22: warning: variable 'a_hour' set but not used
      s3c24x0_rtc.c:67:15: warning: variable 'a_min' set but not used
      s3c24x0_rtc.c:67:8: warning: variable 'a_sec' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • fs/yaffs2/yaffs_guts.c: Fix some GCC 4.6 warnings · 360ab450
      Anatolij Gustschin authored
      Fix:
      yaffs_guts.c: In function 'yaffs_CheckChunkErased':
      yaffs_guts.c:854:6: warning: variable 'result' set but not used
      yaffs_guts.c: In function 'yaffs_UpdateObjectHeader':
      yaffs_guts.c:3463:6: warning: variable 'result' set but not used
      yaffs_guts.c: In function 'yaffs_GrabChunkCache':
      yaffs_guts.c:3774:6: warning: variable 'pushout' set but not used
      yaffs_guts.c: In function 'yaffs_Scan':
      yaffs_guts.c:5237:6: warning: variable 'result' set but not used
      yaffs_guts.c: In function 'yaffs_CheckObjectDetailsLoaded':
      yaffs_guts.c:5748:6: warning: variable 'alloc_failed' set but not used
      yaffs_guts.c:5747:6: warning: variable 'result' set but not used
      yaffs_guts.c: In function 'yaffs_ScanBackwards':
      yaffs_guts.c:5808:6: warning: variable 'deleted' set but not used
      yaffs_guts.c:5806:6: warning: variable 'result' set but not used
      yaffs_guts.c: In function 'yaffs_GetObjectName':
      yaffs_guts.c:6657:7: warning: variable 'result' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • arch/arm/cpu/armv7/s5p-common/pwm.c: fix GCC 4.6 warning · 7a1b07ee
      Anatolij Gustschin authored
      Fix:
      pwm.c: In function 'pwm_config':
      pwm.c:85:16: warning: variable 'timer_rate_hz' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • drivers/video/bus_vcxk.c: Fix GCC 4.6 warning · 5dfc9e14
      Anatolij Gustschin authored
      Fix:
      bus_vcxk.c: In function 'vcxk_display_bitmap':
      bus_vcxk.c:396:16: warning: variable 'compression' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • drivers/video/da8xx-fb.c: Fix GCC 4.6 warning · 6ed076cd
      Anatolij Gustschin authored
      Fix:
      da8xx-fb.c: In function 'video_hw_init':
      da8xx-fb.c:688:6: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • board/cm4008/flash.c: Fix GCC 4.6 warnings · 33ad5ef0
      Anatolij Gustschin authored
      Fix:
      flash.c: In function 'flash_erase':
      flash.c:209:6: warning: variable 'flag' set but not used
      [-Wunused-but-set-variable]
      flash.c: In function 'write_data':
      flash.c:373:6: warning: variable 'flag' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • board/cm41xx/flash.c: Fix GCC 4.6 warnings · 49adbe81
      Anatolij Gustschin authored
      Fix:
      flash.c: In function 'flash_erase':
      flash.c:209:6: warning: variable 'flag' set but not used
      [-Wunused-but-set-variable]
      flash.c: In function 'write_data':
      flash.c:373:6: warning: variable 'flag' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • drivers/net/enc28j60.c: Fix GCC 4.6 warnings · da540665
      Anatolij Gustschin authored
      Fix:
      enc28j60.c: In function 'enc_receive':
      enc28j60.c:435:5: warning: variable 'eir_reg' set but not used
      [-Wunused-but-set-variable]
      enc28j60.c: In function 'enc_poll':
      enc28j60.c:503:5: warning: variable 'estat_reg' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • drivers/net/at91_emac.c: Fix GCC 4.6 warning · e560492b
      Anatolij Gustschin authored
      Fix:
      at91_emac.c: In function 'at91emac_write_hwaddr':
      at91_emac.c:477:15: warning: variable 'dev' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • drivers/mtd/dataflash.c: Fix GCC 4.6 warning · eec3ae68
      Anatolij Gustschin authored
      Fix:
      dataflash.c: In function 'AT91F_DataflashInit':
      dataflash.c:42:6: warning: variable 'last_part' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • drivers/spi/atmel_spi.c: Fix GCC 4.6 warning · eba46d69
      Anatolij Gustschin authored
      Fix:
      atmel_spi.c: In function 'spi_xfer':
      atmel_spi.c:139:7: warning: variable 'ret' set but not used
      [-Wunused-but-set-variable]
      Signed-off-by: 's avatarAnatolij Gustschin <agust@denx.de>
    • pip405.c: Fix GCC 4.6 build warnings · 4e11c351
      Stefan Roese authored
      Fix:
      pip405.c: In function 'board_early_init_f':
      pip405.c:192:16: warning: variable 'tctp_clocks' set but not used [-Wunused-but-set-variable]
      pip405.c:182:16: warning: variable 'dataout' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • mip405.c: Fix GCC 4.6 build warnings · 4233fafe
      Stefan Roese authored
      Fix:
      mip405.c: In function 'init_sdram':
      mip405.c:250:4: warning: variable 'tctp_clocks' set but not used [-Wunused-but-set-variable]
      mip405.c: In function 'initdram':
      mip405.c:629:9: warning: variable 'ds' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • auto_update.c: Fix GCC 4.6 build warnings · 80b68f70
      Stefan Roese authored
      Fix:
      ../common/auto_update.c: In function 'au_check_header_valid':
      ../common/auto_update.c:94:16: warning: variable 'checksum' set but not used [-Wunused-but-set-variable]
      ../common/auto_update.c: In function 'do_auto_update':
      ../common/auto_update.c:400:30: warning: variable 'got_ctrlc' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • iop480_uart.c: Fix GCC 4.6 build warnings · bddf144c
      Stefan Roese authored
      Fix:
      iop480_uart.c: In function 'serial_init':
      iop480_uart.c:137:16: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • cmd_dasa_sim.c: Fix GCC 4.6 build warnings · b2776d3f
      Stefan Roese authored
      Fix:
      cmd_dasa_sim.c: In function 'updatePci9054':
      cmd_dasa_sim.c:135:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      cmd_dasa_sim.c: In function 'clearPci9054':
      cmd_dasa_sim.c:189:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • cmd_pci405.c: Fix GCC 4.6 build warnings · 3cceed20
      Stefan Roese authored
      Fix:
      cmd_pci405.c: In function 'do_loadpci':
      cmd_pci405.c:45:6: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • dlvision-10g.c: Fix GCC 4.6 build warnings · 2c272237
      Stefan Roese authored
      Fix:
      dlvision-10g.c: In function 'print_fpga_info':
      dlvision-10g.c:90:11: warning: variable 'feature_compression' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • nand_boot.c: Fix GCC 4.6 build warnings · 6d68621c
      Stefan Roese authored
      Fix:
      nand_boot.c: In function 'nand_read_page':
      nand_boot.c:190:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
      nand_boot.c: In function 'nand_boot':
      nand_boot.c:271:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • sata_dwc.c: Fix GCC 4.6 build warnings · 13a8c8d0
      Stefan Roese authored
      Fix:
      sata_dwc.c: In function 'sata_dwc_softreset':
      sata_dwc.c:444:5: warning: variable 'status' set but not used [-Wunused-but-set-variable]
      sata_dwc.c:443:6: warning: variable 'serror' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'scan_sata':
      sata_dwc.c:654:16: warning: variable 'lba_desc' set but not used [-Wunused-but-set-variable]
      sata_dwc.c:538:16: warning: variable 'xfer_mask' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'ata_dev_read_id':
      sata_dwc.c:747:14: warning: variable 'reason' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'ata_dev_read_sectors':
      sata_dwc.c:1810:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      sata_dwc.c: In function 'ata_dev_write_sectors':
      sata_dwc.c:1994:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 20001122-1.c: Fix GCC 4.6 build warning · 944416e0
      Stefan Roese authored
      Fix:
      20001122-1.c: In function 'fpu_post_test_math1':
      20001122-1.c:37:22: warning: variable 'p' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 40x_spd_sdram.c: Fix GCC 4.6 build warnings · 4a127266
      Stefan Roese authored
      Fix:
      40x_spd_sdram.c: In function 'spd_sdram':
      40x_spd_sdram.c:137:6: warning: variable 'sdram0_b3cr' set but not used [-Wunused-but-set-variable]
      40x_spd_sdram.c:136:6: warning: variable 'sdram0_b2cr' set but not used [-Wunused-but-set-variable]
      40x_spd_sdram.c:129:6: warning: variable 'sdram0_ecccfg' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 44x_spd_ddr2.c: Fix GCC 4.6 build warnings · deeecb7c
      Stefan Roese authored
      44x_spd_ddr2.c: In function 'initdram':
      44x_spd_ddr2.c:450:17: warning: variable 'dimm_spd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c: In function 'program_copt1':
      44x_spd_ddr2.c:1003:16: warning: variable 'ddrtype' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c: In function 'DQS_calibration_process':
      44x_spd_ddr2.c:2498:7: warning: variable 'window_found' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2497:16: warning: variable 'end_rffd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2496:16: warning: variable 'end_rqfd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2495:16: warning: variable 'begin_rffd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2494:16: warning: variable 'begin_rqfd' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr2.c:2493:7: warning: variable 'min_end' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 44x_spd_ddr.c: Fix GCC 4.6 build warnings · 6cd71d0f
      Stefan Roese authored
      Fix:
      44x_spd_ddr.c: In function 'program_cfg0':
      44x_spd_ddr.c:384:16: warning: variable 'dimm_64bit' set but not used [-Wunused-but-set-variable]
      44x_spd_ddr.c:383:16: warning: variable 'dimm_32bit' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • cmd_ecctest.c: Fix GCC 4.6 build warnings · a6370da1
      Stefan Roese authored
      Fix:
      cmd_ecctest.c: In function 'inject_ecc_error':
      cmd_ecctest.c:116:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      cmd_ecctest.c: In function 'rewrite_ecc_parity':
      cmd_ecctest.c:154:6: warning: variable 'val' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 4xx_ibm_ddr2_autocalib.c: Fix GCC 4.6 build warnings · 8f6db4b7
      Stefan Roese authored
      Fix:
      4xx_ibm_ddr2_autocalib.c: In function 'get_membase':
      4xx_ibm_ddr2_autocalib.c:157:8: warning: variable 'bxcf' set but not used [-Wunused-but-set-variable]
      4xx_ibm_ddr2_autocalib.c: In function 'DQS_calibration_methodB':
      4xx_ibm_ddr2_autocalib.c:722:8: warning: variable 'rffd' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 4xx_pcie.c: Fix GCC 4.6 build warnings · fe91a657
      Stefan Roese authored
      Fix:
      4xx_pcie.c: In function 'pcie_read_config':
      4xx_pcie.c:230:6: warning: variable 'address' set but not used [-Wunused-but-set-variable]
      4xx_pcie.c: In function 'pcie_write_config':
      4xx_pcie.c:290:6: warning: variable 'address' set but not used [-Wunused-but-set-variable]
      4xx_pcie.c: In function 'ppc4xx_setup_pcie_rootpoint':
      4xx_pcie.c:1066:17: warning: variable 'rmbase' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • 4xx_enet.c: Fix GCC 4.6 build warnings · f0813ab1
      Stefan Roese authored
      Fix:
      4xx_enet.c: In function 'ppc_4xx_eth_init':
      4xx_enet.c:875:6: warning: variable 'ethgroup' set but not used [-Wunused-but-set-variable]
      
      I used "__maybe_unused" here intentionally, since all other
      alternatives to fix this compilation warning would result in more
      ifdef's.
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>
    • usb_ohci.c: Fix GCC 4.6 build warnings · af0af524
      Stefan Roese authored
      Fix:
      usb_ohci.c: In function 'dl_transfer_length':
      usb_ohci.c:756:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable]
      Signed-off-by: 's avatarStefan Roese <sr@denx.de>