summaryrefslogtreecommitdiff
path: root/board/freescale/p1022ds
diff options
context:
space:
mode:
authorJiang Yutang <b14898@freescale.com>2011-02-24 16:11:56 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-04-29 07:36:17 -0500
commit9b6e9d1c13e2a1ed8b508eecaaf4ed462a82cfd6 (patch)
tree747833d68acef9ba8b2de84911cf6952aa307268 /board/freescale/p1022ds
parentc62a6cfb9467a1f77b7d2b3175dcd6de23a9be87 (diff)
powerpc/85xx: Enable eSPI support on P1022DS
Signed-off-by: Jiang Yutang <b14898@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/freescale/p1022ds')
-rw-r--r--board/freescale/p1022ds/p1022ds.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/p1022ds/p1022ds.c b/board/freescale/p1022ds/p1022ds.c
index 73a10213be9..8ef627fc7b4 100644
--- a/board/freescale/p1022ds/p1022ds.c
+++ b/board/freescale/p1022ds/p1022ds.c
@@ -46,6 +46,9 @@ int board_early_init_f(void)
/* Set the pin muxing to enable ETSEC2. */
clrbits_be32(&gur->pmuxcr2, 0x001F8000);
+ /* Enable the SPI */
+ clrsetbits_8(&pixis->brdcfg0, PIXIS_ELBC_SPI_MASK, PIXIS_SPI);
+
return 0;
}