summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJohn Otken <john@softadvances.com>2007-07-26 17:49:11 +0200
committerStefan Roese <sr@denx.de>2007-07-26 17:49:11 +0200
commitd4024bb72dd81695ec099b2199eda0d27c623e62 (patch)
tree401db21bb0c6665bb10ef70ece49a1479836483d /common
parent9f24a808f17fc0f37b7fb4805f734741335caecc (diff)
downloadu-boot-imx-d4024bb72dd81695ec099b2199eda0d27c623e62.zip
u-boot-imx-d4024bb72dd81695ec099b2199eda0d27c623e62.tar.gz
u-boot-imx-d4024bb72dd81695ec099b2199eda0d27c623e62.tar.bz2
ppc4xx: Add support for AMCC 405EP Taihu board
Signed-off-by: John Otken <john@softadvances.com>
Diffstat (limited to 'common')
-rw-r--r--common/soft_spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/soft_spi.c b/common/soft_spi.c
index 00a57de..e425061 100644
--- a/common/soft_spi.c
+++ b/common/soft_spi.c
@@ -79,7 +79,9 @@ void spi_init (void)
*/
int spi_xfer(spi_chipsel_type chipsel, int bitlen, uchar *dout, uchar *din)
{
+#ifdef CFG_IMMR
volatile immap_t *immr = (immap_t *)CFG_IMMR;
+#endif
uchar tmpdin = 0;
uchar tmpdout = 0;
int j;