<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/configs/km, branch v2012.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>arm/km: remove unused code</title>
<updated>2012-09-03T12:08:54+00:00</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-08-09T01:37:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fcca7e7acc56fc39fedb6a080e6b92aeff647dac'/>
<id>fcca7e7acc56fc39fedb6a080e6b92aeff647dac</id>
<content type='text'>
For some reasons we had an own implementaion of dram_init and
dram_init_banksize. This is not needed anymore, use the standard
kirkwood functions instead.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
cc: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
Acked-By: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For some reasons we had an own implementaion of dram_init and
dram_init_banksize. This is not needed anymore, use the standard
kirkwood functions instead.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
cc: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
Acked-By: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/km: fix frequency of the SPI NOR Flash</title>
<updated>2012-09-03T12:06:31+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-08-14T01:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=05c8e81fd39c8a41c2038844868a491003bcdab8'/>
<id>05c8e81fd39c8a41c2038844868a491003bcdab8</id>
<content type='text'>
According to our last HW measures, this could be raised while still
compatible with the potential delays on the lines.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Acked-By: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to our last HW measures, this could be raised while still
compatible with the potential delays on the lines.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Acked-By: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>km/arm: set SPI NOR Flash default parameters</title>
<updated>2012-09-03T11:43:03+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-08-14T01:39:10+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f46b4a1aadb4ab834bcf333a9dd4c7804296e185'/>
<id>f46b4a1aadb4ab834bcf333a9dd4c7804296e185</id>
<content type='text'>
These parameters are used by the the sf probe command that are used by
our update script and they therefore need to be set for all of our
boards.

The timing is the same as for the ENV SPI NOR Flash (since it's the
same physical device) and takes the boco2 delay on the bus into account.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Acked-by: Prafulla Wadaskar &lt;Prafulla@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These parameters are used by the the sf probe command that are used by
our update script and they therefore need to be set for all of our
boards.

The timing is the same as for the ENV SPI NOR Flash (since it's the
same physical device) and takes the boco2 delay on the bus into account.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Acked-by: Prafulla Wadaskar &lt;Prafulla@marvell.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: Remove unused stack and irq config defines</title>
<updated>2012-09-01T12:58:22+00:00</updated>
<author>
<name>Rob Herring</name>
<email>rob.herring@calxeda.com</email>
</author>
<published>2012-07-13T09:44:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d6ba91e793808d1612152e9f9b8c51b3ca6c926'/>
<id>3d6ba91e793808d1612152e9f9b8c51b3ca6c926</id>
<content type='text'>
CONFIG_STACKSIZE is not referenced anywhere except on AVR32, but present
in most ARM board config files.

IRQs are only enabled for 1 config, so remove the unused config options
for IRQ and FIQ stack size as well.

Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_STACKSIZE is not referenced anywhere except on AVR32, but present
in most ARM board config files.

IRQs are only enabled for 1 config, so remove the unused config options
for IRQ and FIQ stack size as well.

Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;
Signed-off-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Consolidate bootcount code into drivers/bootcount</title>
<updated>2012-09-01T12:26:02+00:00</updated>
<author>
<name>Stefan Roese</name>
<email>sr@denx.de</email>
</author>
<published>2012-08-16T17:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0044c42e94ecc258728190919b4619508fb83089'/>
<id>0044c42e94ecc258728190919b4619508fb83089</id>
<content type='text'>
This patch moves all bootcount implementations into a common
directory: drivers/bootcount. The generic bootcount driver
is now usable not only by powerpc platforms, but others as well.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
Cc: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Cc: Manfred Rudigier &lt;manfred.rudigier@omicron.at&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Cc: Reinhard Meyer &lt;reinhard.meyer@emk-elektronik.de&gt;
Tested-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
Tested-by: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch moves all bootcount implementations into a common
directory: drivers/bootcount. The generic bootcount driver
is now usable not only by powerpc platforms, but others as well.

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Cc: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
Cc: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Cc: Manfred Rudigier &lt;manfred.rudigier@omicron.at&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Rob Herring &lt;rob.herring@calxeda.com&gt;
Cc: Reinhard Meyer &lt;reinhard.meyer@emk-elektronik.de&gt;
Tested-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
Tested-by: Christian Riesch &lt;christian.riesch@omicron.at&gt;
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>powerpc/82xx: move km/km82xx-common.h within km82xx.h</title>
<updated>2012-07-31T20:36:27+00:00</updated>
<author>
<name>Gerlando Falauto</name>
<email>gerlando.falauto@keymile.com</email>
</author>
<published>2012-07-27T05:16:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=65c7f92313784e971bd688ea2ed3a8b1349c8d0a'/>
<id>65c7f92313784e971bd688ea2ed3a8b1349c8d0a</id>
<content type='text'>
The only file including km82xx-common.h is km82xx.h.
So there is no need to have it as a separate file.

Signed-off-by: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The only file including km82xx-common.h is km82xx.h.
So there is no need to have it as a separate file.

Signed-off-by: Gerlando Falauto &lt;gerlando.falauto@keymile.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/km: remove calls to kw_gpio_* in board_early_init_f</title>
<updated>2012-07-07T12:07:38+00:00</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-07-05T05:05:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c471d84808843dce6174eaab624779aa15ff71bf'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/km: enable BOCO2 FPGA download support</title>
<updated>2012-07-07T12:07:37+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-07-05T05:05:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b37f772433ab44d1730423eccf11f287ce61ec5f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/km: add kmnusa board support</title>
<updated>2012-07-07T12:07:36+00:00</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-07-05T05:37:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8170aefc84b04af1e5bd217b04aef81a047f8d28'/>
<id>8170aefc84b04af1e5bd217b04aef81a047f8d28</id>
<content type='text'>
This board is similar to portl2, but it has the u-boot environment
in a SPI NOR flash and not in an i2c eeprom like portl2 have.

Some other details:
 - IVM EEPROM is at adress: pca9547:70:9
 - PCI is enabled
 - PIGGY4 is connected via MV88E6352 simple switch. There is no phy
   between the simple switch and the kirkwood.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This board is similar to portl2, but it has the u-boot environment
in a SPI NOR flash and not in an i2c eeprom like portl2 have.

Some other details:
 - IVM EEPROM is at adress: pca9547:70:9
 - PCI is enabled
 - PIGGY4 is connected via MV88E6352 simple switch. There is no phy
   between the simple switch and the kirkwood.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>arm/km: use spi claim bus to switch between SPI and NAND</title>
<updated>2012-07-07T12:07:33+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-06-13T03:01:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c25defccdc0461bf6695d7e0fe3091c9da8778e'/>
<id>0c25defccdc0461bf6695d7e0fe3091c9da8778e</id>
<content type='text'>
We overwrite these weak functions from the kirkwood spi code to
use our own method to be able to switch between the SPI NOR and
the NAND flash. This is needed e.g. to update the u-boot. The former
command do_spi_toggle can therefore be removed. And the usage of
this command is removed from the u-boot update command in the
u-boot environment.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
Signed-off-by: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
cc: Holger Brunck &lt;holger.brunck@keymile.com&gt;
cc: Prafulla Wadaskar &lt;prafulla@marvell.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We overwrite these weak functions from the kirkwood spi code to
use our own method to be able to switch between the SPI NOR and
the NAND flash. This is needed e.g. to update the u-boot. The former
command do_spi_toggle can therefore be removed. And the usage of
this command is removed from the u-boot update command in the
u-boot environment.

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