[U-Boot] [PATCH] arm/km: use spi claim bus to switch between SPI and NAND

Prafulla Wadaskar prafulla at marvell.com
Tue Jul 3 09:44:58 CEST 2012



> -----Original Message-----
> From: Holger Brunck [mailto:holger.brunck at keymile.com]
> Sent: 13 June 2012 18:31
> To: u-boot at 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 at 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 at keymile.com>
> cc: Holger Brunck <holger.brunck at keymile.com>
> cc: Prafulla Wadaskar <prafulla at 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 . . .


More information about the U-Boot mailing list