<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/configs/km, branch v2012.07</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 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>
<entry>
<title>km_arm: use filesize for erase in update command</title>
<updated>2012-07-07T12:07:31+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-05-25T01:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a0fb94f9ed865ff8073b4d493918cb78411de2b1'/>
<id>a0fb94f9ed865ff8073b4d493918cb78411de2b1</id>
<content type='text'>
We used to have an arbitrary value, which can be a problem if we have a
u-boot image that is bigger than this value.

This patch is dependant on the whole km/arm series and will be included
in the v3 of the series if there is one.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: 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>
We used to have an arbitrary value, which can be a problem if we have a
u-boot image that is bigger than this value.

This patch is dependant on the whole km/arm series and will be included
in the v3 of the series if there is one.

Signed-off-by: Valentin Longchamp &lt;valentin.longchamp@keymile.com&gt;
cc: 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: enable mii cmd</title>
<updated>2012-07-07T12:07:31+00:00</updated>
<author>
<name>Valentin Longchamp</name>
<email>valentin.longchamp@keymile.com</email>
</author>
<published>2012-05-25T01:57:20+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=002ec08d6d4e6bc32ac8f5d35ea4fbbc1f9138ab'/>
<id>002ec08d6d4e6bc32ac8f5d35ea4fbbc1f9138ab</id>
<content type='text'>
This is useful to debug the switch initialization

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 is useful to debug the switch initialization

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: remove CONFIG_RESET_PHY_R</title>
<updated>2012-07-07T12:07:31+00:00</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-05-25T01:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=be67190e48b0f5f57f05104ee1e01d285cc96844'/>
<id>be67190e48b0f5f57f05104ee1e01d285cc96844</id>
<content type='text'>
This is already defined in the generic kirkwood header.

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 is already defined in the generic kirkwood header.

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: rename CONFIG option CONFIG_KM_DEF_ENV_UPDATE</title>
<updated>2012-07-07T12:07:30+00:00</updated>
<author>
<name>Holger Brunck</name>
<email>holger.brunck@keymile.com</email>
</author>
<published>2012-05-25T01:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=af85f0858808cb1598dd4353def58cf8eec3a83e'/>
<id>af85f0858808cb1598dd4353def58cf8eec3a83e</id>
<content type='text'>
This config option sounds like the it is responsible for the
update of  the environment, but it is the u-boot update handling.
Therefore we adapt it to a more apropriate naming.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Prafulla Wadaskar &lt;prafulla@marvell.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 config option sounds like the it is responsible for the
update of  the environment, but it is the u-boot update handling.
Therefore we adapt it to a more apropriate naming.

Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Prafulla Wadaskar &lt;prafulla@marvell.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>hush.c: Move default CONFIG_SYS_PROMPT_HUSH_PS2 to hush.c</title>
<updated>2012-06-20T18:36:51+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-06-19T22:54:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=219f4788d33b04e394d4ade1feaedc0292acc790'/>
<id>219f4788d33b04e394d4ade1feaedc0292acc790</id>
<content type='text'>
Exactly one board has defined CONFIG_SYS_PROMPT_HUSH_PS2 to a value
different than "&gt; " which is vision2.  I have Cc'd the maintainer here
as I strongly suspect this is a bug rather than intentional behavior.

Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Exactly one board has defined CONFIG_SYS_PROMPT_HUSH_PS2 to a value
different than "&gt; " which is vision2.  I have Cc'd the maintainer here
as I strongly suspect this is a bug rather than intentional behavior.

Cc: Stefano Babic &lt;sbabic@denx.de&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
Acked-by: Stefano Babic &lt;sbabic@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>km/common: check test_bank and testpin for testboot</title>
<updated>2012-06-15T22:12:52+00:00</updated>
<author>
<name>Thomas Herzmann</name>
<email>thomas.herzmann@keymile.com</email>
</author>
<published>2012-05-04T08:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c1b3d84168ad423b3932f671c0863327fb005599'/>
<id>c1b3d84168ad423b3932f671c0863327fb005599</id>
<content type='text'>
If the testpin is asserted, first check if a test_bank
variable is defined before trying to boot this
test_bank.

Signed-off-by: Thomas Herzmann &lt;thomas.herzmann@keymile.com&gt;
Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the testpin is asserted, first check if a test_bank
variable is defined before trying to boot this
test_bank.

Signed-off-by: Thomas Herzmann &lt;thomas.herzmann@keymile.com&gt;
Signed-off-by: Holger Brunck &lt;holger.brunck@keymile.com&gt;
Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
