<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/board/keymile, branch v2012.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/board/keymile?h=v2012.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/board/keymile?h=v2012.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2012-07-10T07:18:33Z</updated>
<entry>
<title>Minor Coding Style cleanup</title>
<updated>2012-07-10T07:18:33Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2012-07-10T07:18:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3fe63839f3f0f9942fc4567a82954192e144e6a1'/>
<id>urn:sha1:3fe63839f3f0f9942fc4567a82954192e144e6a1</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
</entry>
<entry>
<title>arm/km: remove calls to kw_gpio_* in board_early_init_f</title>
<updated>2012-07-07T12:07:38Z</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-07-05T05:05:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c471d84808843dce6174eaab624779aa15ff71bf'/>
<id>urn:sha1:c471d84808843dce6174eaab624779aa15ff71bf</id>
<content type='text'>
These functions tried to access two static tables before relocation
(board_early_init_f is executed before relocation). But these static
tables lie in the bss section which is not valid before relocation.
These accesses then overwrote some parts of u-boot binary before it was
relocated. For the kmnusa build, this results in a corrupted important
env variable (bootcmd) but it may be that some other parts of the u-boot
binary are corrupted.

This patch solves this problem by moving all the kw_gpio_* calls to
board_init, which should be early enough in the boot sequence. The only
calls that could not be moved is the one for the SOFT (bitbang) I2C, and
they have been replaced by a direct access to the GPIO dataout Control
register to set the two GPIOs as output.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
</entry>
<entry>
<title>arm/km: add implementation for read_dip_switch</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Thomas Herzmann</name>
<email>thomas.herzmann@keymile.com</email>
</author>
<published>2012-07-05T05:05:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b8cf7cc8860d30b85b08377183688bf9564896bf'/>
<id>urn:sha1:b8cf7cc8860d30b85b08377183688bf9564896bf</id>
<content type='text'>
Add a function to read the dip_switch on kmcoge5un. If the
switch is set the actual_bank is set to 0 and this SW is
booted.

Signed-off-by: Thomas Herzmann &lt;thomas.herzmann@keymile.com&gt;
Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
</content>
</entry>
<entry>
<title>arm/km: support the 2 PCIe fpga resets</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-07-05T05:05:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dbdee4ca591a3bf19446d8ab89285835e210b378'/>
<id>urn:sha1:dbdee4ca591a3bf19446d8ab89285835e210b378</id>
<content type='text'>
The PCIe FPGAs now have to support 2 resets: one for the non traffic
affecting part (PCIe) and one for the traffic affecting part.

When the FPGA is not reconfigured, we only reset the PCIe part.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
</content>
</entry>
<entry>
<title>arm/km: skip FPGA config when already configured</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-07-05T05:05:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bcac5b1b2c4f5f44a512dee7b0ac9ed64fd0bed0'/>
<id>urn:sha1:bcac5b1b2c4f5f44a512dee7b0ac9ed64fd0bed0</id>
<content type='text'>
In order to be able to perform board resets without interrupting the
traffic, the configuration of an already properly configured FPGA is
skipped.

This is because some PCIe FPGAs embed some other function that must
continue to work over reset.

It is then the responsibility of the application to trigger a
reconfiguration when needed. This is done by lowering the FPGA_INIT_B
pin for delaying the configuration to u-boot @ next reboot, and then
lower the FPGA_PROGRAM_B signal.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
</content>
</entry>
<entry>
<title>arm/km: redefine piggy 4 reg names to avoid conflicts</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-07-05T05:05:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c1b8514a7a94b6b7e4e2bd779ecda16c86248299'/>
<id>urn:sha1:c1b8514a7a94b6b7e4e2bd779ecda16c86248299</id>
<content type='text'>
Some very similar #defines for reg addresses are used in a later patch
(managed_switch support for km_arm).

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
</entry>
<entry>
<title>arm/km: enable BOCO2 FPGA download support</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-07-05T05:05:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b37f772433ab44d1730423eccf11f287ce61ec5f'/>
<id>urn:sha1:b37f772433ab44d1730423eccf11f287ce61ec5f</id>
<content type='text'>
This adds a first support of the FPGA download for a PCIe FPGA based
on the BOCO2 CPLD.

This takes place in 3 steps, all done accessing the SPICTRL reg of the
BOCO2:
1) start the FPGA config with an access to the FPGA_PROG bit
2) later in the boot sequence, wait for the FPGA_DONE bit to toggle to 1
   for the end of the FPGA configuration (with a timeout)
3) reset the FPGA
4) finally remove the access to its config EEPROM from the FPGA so that
   the CPU can update the FPGA configuration when the kernel is running

The boards with a PCIe FPGA but without BOCO2 still are supported.

The config option name is CONFIG_KM_FPGA_CONFIG

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
cc: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
</entry>
<entry>
<title>arm/km: remove portl2.h and use km_kirkwood instead</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-07-05T05:05:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6ef6486180678ab86d511676ec68cf78bf267582'/>
<id>urn:sha1:6ef6486180678ab86d511676ec68cf78bf267582</id>
<content type='text'>
The additional headerfile is unneeded here, we can use the generic
km_kirkwood.h instead. And we can use the better config option
KM_PIGGY4_88E6061 for the specific features for boards with this
design in km_arm.c.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
</entry>
<entry>
<title>arm/km: convert mgcoge3un target to km_kirkwood</title>
<updated>2012-07-07T12:07:37Z</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-07-05T05:05:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f945439af9198be07a32f8799e96df60ae1b0adb'/>
<id>urn:sha1:f945439af9198be07a32f8799e96df60ae1b0adb</id>
<content type='text'>
Use the generic header km_kirkwood.h and get rid of the
board specific header.

changes for v2: rebased because of changes in other patches

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
</entry>
<entry>
<title>arm/km: add kmcoge5un board support</title>
<updated>2012-07-07T12:07:36Z</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-07-05T05:05:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d9354530fe3a891718e3a9b88a756545c3891475'/>
<id>urn:sha1:d9354530fe3a891718e3a9b88a756545c3891475</id>
<content type='text'>
For u-boot this board is similar to mgcoge3un. But some differences
are present. We have a different SDRAM on it and therefore a new
SDRAM config file. Additionaly this board has a direct MAC/MAC
connection from the kirkwood to a marvell simple switch without a
phy inbetween, this needs a new configuration for the mvgbe driver.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
</entry>
</feed>
