<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/board/armltd, branch v2012.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/board/armltd?h=v2012.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/board/armltd?h=v2012.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2012-03-26T11:22:40Z</updated>
<entry>
<title>ARMV7/Vexpress: add missing get_ticks() and get_tbclk()</title>
<updated>2012-03-26T11:22:40Z</updated>
<author>
<name>Liming Wang</name>
<email>walimisdev@gmail.com</email>
</author>
<published>2012-02-22T04:56:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d721a3a7714147a54f400f9daeeac059e579a4a4'/>
<id>urn:sha1:d721a3a7714147a54f400f9daeeac059e579a4a4</id>
<content type='text'>
commit f31a911fe (arm, post: add missing post_time_ms for arm)
enables get_ticks and get_tbclk for all arm based boards,
arm/vexpress also needs these functions to work.

Signed-off-by: Liming Wang &lt;walimisdev@gmail.com&gt;
Acked-by: Matt.Waddel@linaro.org
</content>
</entry>
<entry>
<title>integrator: remove fragile delay loop from PCI code</title>
<updated>2012-03-04T20:15:31Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-03-03T20:21:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fca94c3fd5deef33442813475a5af1650f2d2830'/>
<id>urn:sha1:fca94c3fd5deef33442813475a5af1650f2d2830</id>
<content type='text'>
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: Wolfgang Denk &lt;wd@denx.de&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: rewrite the AP PCI driver</title>
<updated>2012-02-27T20:19:24Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-01-30T13:49:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2458716a5b2269cff89f4b41afac16ac84bf6fb2'/>
<id>urn:sha1:2458716a5b2269cff89f4b41afac16ac84bf6fb2</id>
<content type='text'>
The PCI support for the Integrator AP has apparently never
been finished and I strongly suspect that it has never worked,
so let's fix it. This is a list of the more or less
un-splittable changes done in this driver rewrite:

- Replace the register definitions stashed into the config
  file (!) with a copy if the register file from the Linux
  kernels arch/arm/include/asm/hardware/pci_v3.h

- Delete the unreadable gigantic macros that perform the
  config accesses and replace them with copyedited code from
  Linux arch/arm/mach-integrator/pci_v3.c

- Rewrite the rest of the setup code to use the
  v3_[read|write][lwb]() accessors.

- Enable PCI by default in the AP board configuration.

- Fix checkpatch warnings and make code more conformant.

Tested-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: stop calling pci_init() twice</title>
<updated>2012-02-27T20:19:24Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2012-01-21T13:13:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4ae6a91a86279c78c773f570057919dffecee484'/>
<id>urn:sha1:4ae6a91a86279c78c773f570057919dffecee484</id>
<content type='text'>
The U-Boot startup infrastructure already makes sure pci_init() is
called at a proper time, calling it again from within the board
setup code will not make things better.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: enable Vpp and disable flash protection</title>
<updated>2011-11-10T14:27:22Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-11-09T06:16:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1dc26801a3ef15ea2d32387c725293ecfcb08efa'/>
<id>urn:sha1:1dc26801a3ef15ea2d32387c725293ecfcb08efa</id>
<content type='text'>
This enables Vpp and disables the flash protection on the
Integrator when starting U-Boot. The integrator/AP has double
protection mechanisms: this one and the EBI protection bit
(patch earlier), the Integrator/CP has only one line of
protection in these registers.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: add system controller header</title>
<updated>2011-11-10T14:27:18Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-11-09T06:16:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0a20e534e9a8a0ef1376e1fe81f426d343fe0ca2'/>
<id>urn:sha1:0a20e534e9a8a0ef1376e1fe81f426d343fe0ca2</id>
<content type='text'>
Break out the AP system controller and CP "CP controller"
registers into a header file, it gives better overview than
hardcoding its values and other disturbing practices.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: make flash writeable on boot</title>
<updated>2011-11-10T14:27:15Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-11-09T06:15:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=701ed16e23c2c9c11ea26ea57e037f7833bb00ba'/>
<id>urn:sha1:701ed16e23c2c9c11ea26ea57e037f7833bb00ba</id>
<content type='text'>
This reconfigures the EBI (External Bus Interface) on the
integrator so that chip select 1, handling the flash memory, is
set to writeable. Without this it is not possible for U-Boot to
access flash memory and it crashes on startup since CFI won't
work properly.

Since this is the first time we use the EBI, we create a header
file for its registers.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: use io-accessors for board init</title>
<updated>2011-11-10T14:27:03Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-11-09T06:14:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7c045d0bfec1e2990e19d3eb1852839e27270387'/>
<id>urn:sha1:7c045d0bfec1e2990e19d3eb1852839e27270387</id>
<content type='text'>
Casting around to *(volatile ulong *) doesn't look good, so include
the &lt;asm/io.h&gt; macros and use good old readl() instead.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: move text offset to config</title>
<updated>2011-11-10T14:26:58Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-11-09T06:14:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a4c15c01bfdf5a3345bda4da249ebde2fe742caa'/>
<id>urn:sha1:a4c15c01bfdf5a3345bda4da249ebde2fe742caa</id>
<content type='text'>
Do away with the config.mk file and move the text offset to the
config files to make things easier.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>integrator: do not test first part of the memory</title>
<updated>2011-11-08T21:04:47Z</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2011-10-23T21:02:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=46b5ccbfe299887fa1f8b15d494d0a5f0e75ee2e'/>
<id>urn:sha1:46b5ccbfe299887fa1f8b15d494d0a5f0e75ee2e</id>
<content type='text'>
When booting from Flash, the Integrator remaps its flash memory
from 0x24000000 to 0x00000000, and starts executing it at
0x00000000. This ROM thus hides the RAM underneath and first
0x40000 bytes of the memory cannot be tested by get_ram_size().
So let's test from 0x40000 to the end of detected memory
instead.

Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
</feed>
