| fcca7e7a | 09-Aug-2012 |
Holger Brunck <holger.brunck@keymile.com> |
arm/km: remove unused code
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:
arm/km: remove unused code
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 <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com> cc: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Gerlando Falauto <gerlando.falauto@keymile.com> Acked-By: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
| 05c8e81f | 14-Aug-2012 |
Valentin Longchamp <valentin.longchamp@keymile.com> |
arm/km: fix frequency of the SPI NOR Flash
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 <
arm/km: fix frequency of the SPI NOR Flash
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 <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> Acked-By: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
| c471d848 | 05-Jul-2012 |
Holger Brunck <holger.brunck@keymile.com> |
arm/km: remove calls to kw_gpio_* in board_early_init_f
These functions tried to access two static tables before relocation (board_early_init_f is executed before relocation). But these static table
arm/km: remove calls to kw_gpio_* in board_early_init_f
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 <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
| b37f7724 | 05-Jul-2012 |
Valentin Longchamp <valentin.longchamp@keymile.com> |
arm/km: enable BOCO2 FPGA download support
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
arm/km: enable BOCO2 FPGA download support
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 <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Gerlando Falauto <gerlando.falauto@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
| a0fb94f9 | 25-May-2012 |
Valentin Longchamp <valentin.longchamp@keymile.com> |
km_arm: use filesize for erase in update command
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
km_arm: use filesize for erase in update command
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 <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> cc: Gerlando Falauto <gerlando.falauto@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
| 002ec08d | 25-May-2012 |
Valentin Longchamp <valentin.longchamp@keymile.com> |
arm/km: enable mii cmd
This is useful to debug the switch initialization
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
arm/km: enable mii cmd
This is useful to debug the switch initialization
Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> cc: Gerlando Falauto <gerlando.falauto@keymile.com> cc: Prafulla Wadaskar <prafulla@marvell.com>
show more ...
|
| c1b3d841 | 04-May-2012 |
Thomas Herzmann <thomas.herzmann@keymile.com> |
km/common: check test_bank and testpin for testboot
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 <
km/common: check test_bank and testpin for testboot
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 <thomas.herzmann@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
show more ...
|