1. 03 11月, 2011 8 次提交
  2. 28 10月, 2011 32 次提交
    • K
      e1000: Allow direct access to the E1000 SPI EEPROM device · ce5207e1
      Kyle Moffett 提交于
      As a part of the manufacturing process for some of our custom hardware,
      we are programming the EEPROMs attached to our Intel 82571EB controllers
      from software using U-Boot and Linux.
      
      This code provides several conditionally-compiled features to assist in
      our manufacturing process:
      
        CONFIG_CMD_E1000:
          This is a basic "e1000" command which allows querying the controller
          and (if other config options are set) performing EEPROM programming.
          In particular, with CONFIG_E1000_SPI this allows you to display a
          hex-dump of the EEPROM, copy to/from main memory, and verify/update
          the software checksum.
      
        CONFIG_E1000_SPI_GENERIC:
          Build a generic SPI driver providing the standard U-Boot SPI driver
          interface.  This allows commands such as "sspi" to access the bus
          attached to the E1000 controller.  Additionally, some E1000 chipsets
          can support user data in a reserved space in the E1000 EEPROM which
          could be used for U-Boot environment storage.
      
        CONFIG_E1000_SPI:
          The core SPI access code used by the above interfaces.
      
      For example, the following commands allow you to program the EEPROM from
      a USB device (assumes CONFIG_E1000_SPI and CONFIG_CMD_E1000 are enabled):
        usb start
        fatload usb 0 $loadaddr 82571EB_No_Mgmt_Discrete-LOM.bin
        e1000 0 spi program $loadaddr 0 1024
        e1000 0 spi checksum update
      
      Please keep in mind that the Intel-provided .eep files are organized as
      16-bit words.  When converting them to binary form for programming you
      must byteswap each 16-bit word so that it is in little-endian form.
      
      This means that when reading and writing words to the SPI EEPROM, the
      bit ordering for each word looks like this on the wire:
      
        Time >>>
      ------------------------------------------------------------------
        ... [7, 6, 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8], ...
      ------------------------------------------------------------------
        (MSB is 15, LSB is 0).
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      ce5207e1
    • K
      e1000: Export core EEPROM access functions for SPI support · 2326a94d
      Kyle Moffett 提交于
      A followup patch will be adding a configurable feature to enable
      programming of E1000 EEPROMs from the command line or via the generic
      U-Boot SPI interface.
      
      In order for it to work it needs access to certain E1000-internal
      functions, so export those in the e1000.h header file.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      2326a94d
    • K
      e1000: Rewrite EEPROM checksum error to give more information · 114d7fc0
      Kyle Moffett 提交于
      As an aide to debugging, we should print out the expected value of the
      EEPROM checksum in addition to just saying that it is wrong.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      114d7fc0
    • K
      e1000: Restructure and streamline PCI device probing · d60626f8
      Kyle Moffett 提交于
      By allocating the e1000 device structures much earlier, we can easily
      generate better error messages and siginficantly clean things up.
      
      The only user-visable change (aside from reworded error messages) is
      that a detected e1000 device which fails to initialize due to software
      or hardware error will still be allocated a device number.
      
      As one example, consider a system with 2 e1000 PCI devices where the
      first controller has a corrupted EEPROM.  Using the old code the
      second controller would be "e1000#0", while with this change it would be
      "e1000#1".
      
      This change should hopefully make such EEPROM errors much more
      straightforward to handle correctly in boot scripts and the like.
      
      It is also necessary for a followup patch which allows SPI programming
      of an e1000 controller's EEPROM even if the checksum is invalid.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      d60626f8
    • K
      e1000: Clean up handling of dual-port NICs and support 82571 · 987b43a1
      Kyle Moffett 提交于
      Consolidate the test for a dual-port NIC to one location for easy
      modification, then fix support for the dual-port 82571.
      Signed-off-by: NKyle Moffett <Kyle.D.Moffett@boeing.com>
      987b43a1
    • S
      zlib: Fix integer cast of pointer · 41d68b32
      Simon Glass 提交于
      Fix to cast an integer to a pointer using uintptr_t.
      Signed-off-by: NSimon Glass <sjg@chromium.org>
      41d68b32
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-arm · 87a5d601
      Wolfgang Denk 提交于
      * 'master' of git://git.denx.de/u-boot-arm:
        ARM: Add Calxeda Highbank platform
        dkb: make mmc command as default enabled
        Marvell: dkb: add mmc support
        ARM: pantheon: add mmc definition
        davinci: remove config.mk file from the sources
        ARM:AM33XX: Add support for TI AM335X EVM
        ARM:AM33XX: Added timer support
        ARM:AM33XX: Add emif/ddr support
        ARM:AM33XX: Add clock definitions
        ARM:AM33XX: Added support for AM33xx
        omap3/emif4: fix registers definition
        davinci: remove obsolete macro CONFIG_EMAC_MDIO_PHY_NUM
        davinci: emac: add support for more than 1 PHYs
        davinci: emac: add new features to autonegotiate for EMAC
        da850evm: Move LPSC configuration to board_early_init_f()
        omap4_panda: Build in cmd_gpio support on panda
        omap: Don't use gpio_free to change direction to input
        mmc: omap: Allow OMAP_HSMMC[23]_BASE to be unset
        OMAP3: overo : Add environment variable optargs to bootargs
        OMAP3: overo: Move ethernet CS4 configuration to execute based on board id
        OMAP3: overo : Use ttyO2 instead of ttyS2.
        da830: add support for NAND boot mode
        dm36x: revert cache disable patch
        dm644X: revert cache disable patch
        devkit8000: Add malloc space
        omap: spl: fix build break due to changes in FAT
        OMAP3 SPL: Provide weak omap_rev_string
        omap: beagle: Use ubifs instead of jffs2 for nand boot
        omap: overo: Disable pull-ups on camera PCLK, HS and VS signals
        omap: overo: Configure mux for gpio10
        SPL: Add DMA library
        omap3: Add interface for omap3 DMA
        omap3: Add DMA register accessors
        omap3: Add Base register for DMA
        arm, davinci: add missing LSPC define for MMC/SD1
        U-Boot/SPL: omap4: Make ddr pre-calculated timings as default.
        DaVinci: correct MDSTAT.STATE mask
        omap4: splitting padconfs into common, 4430 and 4460
        omap4: adding revision detection for 4460 ES1.1
        omap4: replacing OMAP4_CONTROL with OMAP4430_CONTROL
        gplug: fixed build error as a result of code cleanup patch
        kirkwood_spi: add dummy spi_init()
        gpio: mvmfp: reduce include platform file
        ARM: orion5x: reduce dependence of including platform file
        serial: reduce include platform file for marvell chip
        ARM: kirkwood: reduce dependence of including platform file
        ARM: armada100: reduce dependence of including platform file
        ARM: pantheon: reduce dependence of including platform file
        Armada100: Add env storage support for Marvell gplugD
        Armada100: Add SPI flash support for Marvell gplugD
        Armada100: Add SPI support for Marvell gplugD
        SPI: Add SPI driver support for Marvell Armada100
        dreamplug: initial board support.
        imx: fix coding style
        misc: pmic: drop old Freescale's pmic driver
        MX31: mx31pdk: use new pmic driver
        MX31: mx31ads: use new pmic driver
        MX31: mx31_litekit: use new pmic driver
        MX5: mx53evk: use new pmic driver
        MX5: mx51evk: use new pmic driver
        MX35: mx35pdk: use new pmic driver
        misc: pmic: addI2C  support to pmic_fsl driver
        misc: pmic: use I2C_SET_BUS in pmic I2C
        MX5: efikamx/efikasb: use new pmic driver
        MX3: qong: use new pmic driver
        RTC: Switch mc13783 to generic pmic code
        MX5: vision2: use new pmic driver
        misc: pmic: Freescale PMIC switches to generic PMIC driver
        misc:pmic:samsung Enable PMIC driver at GONI target
        misc:pmic:max8998 MAX8998 support at a new PMIC driver.
        misc:pmic:core New generic PMIC driver
        mx31pdk: Remove unneeded config
        mx31: provide readable WEIM CS accessor
        MX51: vision2: Set global macros
        I2C: Add i2c_get/set_speed() to mxc_i2c.c
        ARM: Update mach-types
        devkit8000: Add config to enable SPL MMC boot
        devkit8000: protect board_mmc_init
        arm, post: add missing post_time_ms for arm
        cosmetic, post: Codingstyle cleanup
        arm, logbuffer: make it compileclean
        tegra2: Enable MMC for Seaboard
        tegra2: Add more pinmux functions
        tegra2: Rename PIN_ to PINGRP_
        tegra2: Add more clock functions
        tegra2: Clean up board code a little
        tegra2: Rename CLOCK_PLL_ID to CLOCK_ID
      87a5d601
    • W
      Merge branch 'master' of git://git.denx.de/u-boot-microblaze · 606a76f8
      Wolfgang Denk 提交于
      * 'master' of git://git.denx.de/u-boot-microblaze:
        microblaze: Fix strict-aliasing rules for in_be32
        microblaze: Wire up axi_ethernet driver initialization
      606a76f8
    • M
      DEBUG: Fix debug macros · 88a85fb9
      Marek Vasut 提交于
      The current implementation of debug doesn't play well with GCC4.6.
      This implementation also fixes GCC4.6 complaints about unused variables
      while maintaining code size.
      
      Also, drop the debugX() as that's not used anywhere anymore.
      Signed-off-by: NMike Frysinger <vapier@gentoo.org>
      Signed-off-by: NMarek Vasut <marek.vasut@gmail.com>
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Simon Glass <sjg@chromium.org>
      88a85fb9
    • M
      GCC4.6: Remove debugX() usage from spc1920 hpi · 75753699
      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>
      75753699
    • M
      GCC4.6: Squash warnings in omap4 clocks.c · 3ff915e8
      Marek Vasut 提交于
      clocks.c:606:2: warning: format '%08x' expects type 'unsigned int', but argument
      2 has type 'u32 * const'
      clocks.c:633:2: warning: format '%08x' expects type 'unsigned int', but argument
      2 has type 'u32 * const'
      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>
      3ff915e8
    • M
      GCC4.6: Squash warning in tegra2 board.c · 4a34af71
      Marek Vasut 提交于
      board.c:43:2: 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>
      4a34af71
    • M
      GCC4.6: Squash warnings in yaffs_guts.c · 4754c823
      Marek Vasut 提交于
      yaffs_guts.c: In function 'yaffs_ReadDataFromFile':
      yaffs_guts.c:4461:8: warning: 'chunk' may be used uninitialized in this function
      yaffs_guts.c:4462:8: warning: 'start' may be used uninitialized in this function
      yaffs_guts.c: In function 'yaffs_WriteDataToFile':
      yaffs_guts.c:4581:8: warning: 'chunk' may be used uninitialized in this function
      yaffs_guts.c:4582:8: warning: 'start' may be used uninitialized in this function
      yaffs_guts.c: In function 'yaffs_ResizeFile':
      yaffs_guts.c:4816:8: warning: 'newSizeOfPartialChunk' may be used uninitialized
      in this function
      yaffs_guts.c:4817:8: warning: 'newFullChunks' may be used uninitialized 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>
      Cc: William Juul <william.juul@tandberg.com>
      4754c823
    • M
      GCC4.6: Drop dead code from yaffs_guts.c · 4b41478c
      Marek Vasut 提交于
      Drop yaffs_DeleteWorker():
      yaffs_guts.c:1556:12: warning: 'yaffs_DeleteWorker' defined but not used
      
      Drop yaffs_VerifyTnodeWorker():
      yaffs_guts.c:600:12: warning: 'yaffs_VerifyTnodeWorker' defined but not used
      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>
      4b41478c
    • M
      GCC4.6: Squash warnings in LzmaTools.c · dd059842
      Marek Vasut 提交于
      LzmaTools.c: In function 'lzmaBuffToBuffDecompress':
      LzmaTools.c:70:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:71:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:72:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:73:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:74:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'unsigned char *'
      LzmaTools.c:110:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'SizeT'
      LzmaTools.c:111:5: warning: format '%lx' expects type 'long unsigned int', but
      argument 2 has type 'SizeT'
      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>
      dd059842
    • M
      GCC4.6: Squash warning in lcd.c · 78459123
      Marek Vasut 提交于
      lcd.c: In function 'lcd_setmem':
      lcd.c:446:2: warning: format '%d' expects type 'int', but argument 2 has type
      'u_long'
      lcd.c:446:2: warning: format '%d' expects type 'int', but argument 3 has type
      'u_long'
      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>
      78459123
    • M
      GCC4.6: Squash GTREADREG related errors · 0aa27657
      Marek Vasut 提交于
      interrupts.c: In function 'interrupt_init_cpu':
      interrupts.c:37: warning: implicit declaration of function 'GTREGREAD'
      interrupts.c:37: error: 'LOW_INTERRUPT_CAUSE_REGISTER' undeclared (first use in
      this function)
      interrupts.c:37: error: (Each undeclared identifier is reported only once
      interrupts.c:37: error: for each function it appears in.)
      interrupts.c:37: error: 'HIGH_INTERRUPT_CAUSE_REGISTER' undeclared (first use in
      this function)
      interrupts.c:40: error: 'ETHERNET0_INTERRUPT_CAUSE_REGISTER' undeclared (first
      use in this function)
      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>
      0aa27657
    • M
      GCC4.6: Squash warning in cmd_date.c · cd7b4e82
      Marek Vasut 提交于
      cmd_date.c: In function ‘do_date’:
      cmd_date.c:50:6: warning: variable ‘old_bus’ 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>
      cd7b4e82
    • M
      GCC4.6: Use debug() instead of debugX() in s3c24xx_nand.c · 7a129a55
      Marek Vasut 提交于
      The debugX() macro was always used with debug level 1. There is no point to use
      it here instead of debug().
      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>
      7a129a55
    • M
      GCC4.6: Squash warnings in fec_mxc.c · eda959f3
      Marek Vasut 提交于
      fec_mxc.c: In function 'fec_mii_setspeed':
      fec_mxc.c:112:2: warning: format '%#lx' expects type 'long unsigned int', but
      argument 2 has type 'u32'
      fec_mxc.c: In function 'fec_recv':
      fec_mxc.c:632:2: warning: format '%x' expects type 'unsigned 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>
      eda959f3
    • M
      GCC4.6: Squash warning in bus_vcxk.c · 458f4381
      Marek Vasut 提交于
      bus_vcxk.c:167:2: warning: format '%d' expects type 'int', but argument 2 has
      type 'u_long'
      bus_vcxk.c:167:2: warning: format '%d' expects type 'int', but argument 3 has
      type 'u_long'
      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>
      458f4381
    • M
      GCC4.6: Squash warnings in ks8695eth.c · 99724a2d
      Marek Vasut 提交于
      ks8695eth.c:199:2: warning: format '%x' expects type 'unsigned int', but
      argument 4 has type 'volatile 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>
      99724a2d
    • M
      GCC4.6: Squash warnings in lattice.c · b89c708b
      Marek Vasut 提交于
      lattice.c:319:4: warning: format '%x' expects type 'unsigned int', but argument
      3 has type 'const char *'
      lattice.c:319:4: warning: format '%x' expects type 'unsigned 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>
      b89c708b
    • M
      GCC4.6: Squash warnings in kirkwood_spi.c · 2e8f6419
      Marek Vasut 提交于
      kirkwood_spi.c:125:2: warning: format '%08X' expects type 'unsigned int', but
      argument 4 has type 'const void *'
      kirkwood_spi.c:125:2: warning: format '%08X' expects type 'unsigned int', but
      argument 5 has type 'void *'
      kirkwood_spi.c:160:5: warning: format '%08x' expects type 'unsigned int', but
      argument 2 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>
      2e8f6419
    • M
      GCC4.6: Squash warnings in smsc95xx.c · 79ad5440
      Marek Vasut 提交于
      smsc95xx.c: In function 'smsc95xx_write_hwaddr':
      smsc95xx.c:380:2: warning: dereferencing type-punned pointer will break
      strict-aliasing rules
      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>
      79ad5440
    • 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