davinci: DA830/OMAP-L137 EVM: do not configure NAND on UI card when MMC/SD is selected
commitb5ebe4e198e595cad412a9de2d7b253693545d30
authorSekhar Nori <nsekhar@ti.com>
Wed, 21 Oct 2009 15:48:21 +0000 (21 21:18 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:35 +0000 (25 10:21 -0800)
tree70723cb07fe43cfb074e9a84dffba32db5d4c4c5
parent77316f0575264c56fb0c8f241b946a91e3a00602
davinci: DA830/OMAP-L137 EVM: do not configure NAND on UI card when MMC/SD is selected

On the DA830, AEMIF and MMC/SD pins are shared. On the EVM, when
the mux_mode signal is low MMC/SD works and when mux_mode signal
is high, NAND works.

When MMC/SD driver is configured in the kernel, do not let NAND
get registered and drive mux_mode high. Instead, print a warning
for user to understand why the platform device for NAND did not
get registered.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/board-da830-evm.c