]> git.sur5r.net Git - u-boot/commit
powerpc/85xx: Read board switch settings on p1_p2_rdb
authorPriyanka Jain <Priyanka.Jain@freescale.com>
Tue, 8 Feb 2011 07:48:34 +0000 (13:18 +0530)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:42 +0000 (09:24 -0500)
commitcac29f25fdda1fcbc962629825d309da87618faf
tree63dea28176d497277d85ea501d2a905bda9d2afc
parent0c871e952e77fe9f3b88d52778d2b5d82da4d884
powerpc/85xx: Read board switch settings on p1_p2_rdb

PCA9557 is parallel I/O expansion device on I2C bus which stores various
board switch settings like NOR Flash-Bank selection, SD Data width.

On board:
switch SW5[6] is to select width for eSDHC
        ON  - 4-bit [Enable eSPI]
        OFF - 8-bit [Disable eSPI]

switch SW4[8] is to select NOR Flash Bank for Booting
        OFF - Primary Bank
        ON  - Secondary Bank

Read board switch settings on p1_p2_rdb and configure corresponding
eSDHC width.

Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
Signed-off-by: Dipen Dudhat <dipen.dudhat@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/p1_p2_rdb/p1_p2_rdb.c
include/configs/P1_P2_RDB.h