powerpc/p1022ds: add support for SPI and SD boot
authorMatthew McClintock <msm@freescale.com>
Fri, 18 May 2012 06:04:17 +0000 (06:04 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 8 Aug 2012 22:13:37 +0000 (17:13 -0500)
commitaf2536088e2feae2cf1274f48376e3310e0f709e
tree50111b432dd0abc06c960b91991c38a1e6ce419c
parent56249fea3d5e32cddcd9160e51ec93a9c4327c6b
powerpc/p1022ds: add support for SPI and SD boot

Add TLB mappings, board target options, and configuration items
need for SPI/SD boot.

Since P1022DS RevB board, the NOR flash have been changed to 16 bit/28bit
address flash, therefore, when SDHC/ESPI booting and access to eLBC,
the PMUXCR[0~1] must be set to 10b, and PMUXCR[9~10] must be set to
00b for them.

Configure the PX_BRDCFG0[0~1] to 10b which is connected to
SPI devices as SPI_CS(0:3)_B.

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
Signed-off-by: Jiang Yutang <b14898@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
board/freescale/p1022ds/p1022ds.c
board/freescale/p1022ds/tlb.c
boards.cfg
include/configs/P1022DS.h