]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
arm/km: use spi claim bus to switch between SPI and NAND
authorValentin Longchamp <valentin.longchamp@keymile.com>
Wed, 13 Jun 2012 03:01:03 +0000 (03:01 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:33 +0000 (14:07 +0200)
commit0c25defccdc0461bf6695d7e0fe3091c9da8778e
tree86a9e4ae4a86be5a090847e052927627b1984bf4
parentdacc8c6f79aa4016e431278d31431a19d43c6b37
arm/km: use spi claim bus to switch between SPI and NAND

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>
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
board/keymile/km_arm/km_arm.c
include/configs/km/km_arm.h