
-----Original Message----- From: Holger Brunck [mailto:holger.brunck@keymile.com] Sent: 13 June 2012 18:31 To: u-boot@lists.denx.de Cc: Valentin Longchamp; Holger Brunck; Prafulla Wadaskar Subject: [PATCH] arm/km: use spi claim bus to switch between SPI and NAND
From: Valentin Longchamp valentin.longchamp@keymile.com
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 valentin.longchamp@keymile.com cc: Holger Brunck holger.brunck@keymile.com cc: Prafulla Wadaskar prafulla@marvell.com
Hi Prafulla, this is now a standalone patch. This patch was already posted, but is now a rebase of the following three patches from http://lists.denx.de/pipermail/u-boot/2012-June/125864.html [PATCH 01/20] arm/km: enable spi claim bus [PATCH 02/20] arm/km: use correct kw_gpio function for NAND/SPI switching [PATCH 18/20] arm/km: implement weak function board_spi_clam_bus/release [PATCH 19/20] arm/km: remove spi toggle command This makes the patch much more logical and easier to understand.
Updates for the remaining patch serie will follow. Regards
board/keymile/km_arm/km_arm.c | 44 ++++++--------------------------
include/configs/km/km_arm.h | 9 +++++-- 2 files changed, 13 insertions(+), 40 deletions(-)
Applied to u-boot-marvell.git master branch by resolving few merge conflicts
Regards... Prafulla . . .