1. 07 3月, 2012 8 次提交
  2. 05 3月, 2012 3 次提交
    • T
      Remove execute permissions from source files · b199c6e2
      Thomas Weber 提交于
      Signed-off-by: NThomas Weber <weber@corscience.de>
      b199c6e2
    • L
      integrator: remove fragile delay loop from PCI code · fca94c3f
      Linus Walleij 提交于
      The reference implementation of the PCI initialization code almost
      everywhere contain this fragile loop of "a few usecs", and its
      use of volatile variables to delay a number of bus cycles is indeed
      uncertain.
      
      Reading the manual "Integrator/AP Users Guide", page 5-15 it is
      clearly stated:
      
      "Wait until 230ms after the end of the reset period before
      accessing V360EPC internal registers. The V360EPC supports the
      use of a serial configuration PROM and the software must wait for
      the device to detect the absence of this PROM before accessing any
      registers. The required delay is a function of the PCI Clock, but
      at the lower frequency (25MHz) is 230ms".
      
      So let's simply wait 230ms per the spec.
      
      This solves the compilation error that looked like this:
      pci.c: In function ‘pci_init_board’:
      pci.c:286:18: warning: variable ‘j’ set but not used
      Reported-by: NWolfgang Denk <wd@denx.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      fca94c3f
    • L
      pci: move pciauto_config_init() to pci.h · a1e47b66
      Linus Walleij 提交于
      Fixing build regressions for the Integrator I get find that a few
      boards try to work around the missing declaration of
      pciauto_config_init() by declaring it in the local scope. This
      does not make sense when the sibling functions are in <pci.h>
      so move the function to the header, ridding the build error
      in the Integrator and getting rid of the local declarations
      here and there.
      Reported-by: NWolfgang Denk <wd@denx.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      a1e47b66
  3. 03 3月, 2012 13 次提交
  4. 29 2月, 2012 6 次提交
  5. 28 2月, 2012 10 次提交