1. 30 6月, 2010 7 次提交
  2. 28 6月, 2010 4 次提交
  3. 24 6月, 2010 5 次提交
  4. 23 6月, 2010 12 次提交
  5. 22 6月, 2010 2 次提交
    • N
      Davinci: SPI performance enhancements · 77436d66
      Nick Thompson 提交于
      The following restructuring and optimisations increase the SPI
      read performance from 1.3MiB/s (on da850) to 2.87MiB/s (on da830):
      
      Remove continual revaluation of driver state from the core of the
      copy loop. State can not change during the copy loop, so it is
      possible to move these evaluations to before the copy loop.
      
      Cost is more code space as loop variants are required for each set
      of possible configurations. The loops are simpler however, so the
      extra is only 128bytes on da830 with CONFIG_SPI_HALF_DUPLEX
      defined.
      
      Unrolling the first copy loop iteration allows the TX buffer to be
      pre-loaded reducing SPI clock starvation.
      
      Unrolling the last copy loop iteration removes testing for the
      final loop iteration every time round the loop.
      
      Using the RX buffer empty flag as a transfer throttle allows the
      assumption that it is always safe to write to the TX buffer, so
      polling of TX buffer full flag can be removed.
      Signed-off-by: NNick Thompson <nick.thompson@ge.com>
      Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
      77436d66
    • P
      DaVinci: EMAC: Get EMAC_MDIO_PHY_NUM from config files · e6441c4f
      Prakash PM 提交于
      Currently EMAC_MDIO_PHY_NUM is defined as 1 in emac_defs.h.
      Because of this, EMAC does not work on EVMs which do not have phy
      connected at 1. Moving the macro to board config file makes this
      configurable depending on where the phy is connected on the MDIO bus.
      
      This patch fixes the board reset issue observed during network access
      on DM365EVM. EMAC driver was assuming EMAC_MDIO_PHY_NUM as 1
      but it is 0 on DM365EVM.
      
      This patch is verified on da830/omap-l137, dm365 and dm644x evms.
      Signed-off-by: NPrakash PM <prakash.pm@ti.com>
      Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
      e6441c4f
  6. 21 6月, 2010 2 次提交
  7. 20 6月, 2010 2 次提交
    • W
      net/eth.c: eth_mac_skip() is only needed when CONFIG_NET_MULTI is set · 9c00b2f0
      Wolfgang Denk 提交于
      Move it inside the #ifdef CONFIG_NET_MULTI to avoid
      
      	eth.c:64: warning: 'eth_mac_skip' defined but not used
      
      messages from anumber of old, non-CONFIG_NET_MULTI boards.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Ben Warren <biggerbadderben@gmail.com>
      9c00b2f0
    • W
      include/compiler.h: remove redundant declaration of errno · 9312bba0
      Wolfgang Denk 提交于
      Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
      a "#include <errno.h>" and a "extern int errno;" to include/compiler.h
      which is causing build warnings for some systems, for example for the
      "netstar" board:
      
      	In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
      	include/compiler.h:28: warning: function declaration isn't a prototype
      
      The declaration of "errno" should be redundant, as <errno.h> is
      supposed to provide a correct declaration, so drop it.
      Signed-off-by: NWolfgang Denk <wd@denx.de>
      Cc: Mike Frysinger <vapier@gentoo.org>
      9312bba0
  8. 18 6月, 2010 6 次提交