Patchwork [U-Boot,01/20] arm/km: enable spi claim bus

login
register
mail settings
Submitter Valentin Longchamp
Date June 7, 2012, 10:06 a.m.
Message ID <1339063620-8890-2-git-send-email-valentin.longchamp@keymile.com>
Download mbox | patch
Permalink /patch/163568/
State Rejected
Delegated to: Prafulla Wadaskar
Headers show

Comments

Valentin Longchamp - June 7, 2012, 10:06 a.m.
This is required for all our keymile ARM boards. The selected MPPs are
the default one for the SPI controller, thus the 0x0 definition.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
---
 include/configs/km/km_arm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index eb60d29..056bf53 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -227,6 +227,9 @@  int get_scl(void);
 #define CONFIG_SPI_FLASH
 #define CONFIG_SPI_FLASH_STMICRO
 
+/* SPI bus claim MPP configuration */
+#define CONFIG_SYS_KW_SPI_MPP	0x0
+
 #define FLASH_GPIO_PIN			0x00010000
 
 #define MTDIDS_DEFAULT		"nand0=orion_nand"