diff options
| author | Wolfgang Denk <wd@denx.de> | 2007-08-14 18:43:14 +0200 |
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2007-08-14 18:43:14 +0200 |
| commit | 541d41b2f23182047c0d655ad8d795f33dd37df2 (patch) | |
| tree | b6c9395bacc120d62415f45a0598a41ea0b5d018 /common/soft_spi.c | |
| parent | f01dbb5424a81453c81190dd30e945891466f621 (diff) | |
| parent | 3b3bff4cbf2cb14f9a3e7d03f26ebab900efe4ae (diff) | |
| download | olio-uboot-2014.01-541d41b2f23182047c0d655ad8d795f33dd37df2.tar.xz olio-uboot-2014.01-541d41b2f23182047c0d655ad8d795f33dd37df2.zip | |
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
Diffstat (limited to 'common/soft_spi.c')
| -rw-r--r-- | common/soft_spi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/soft_spi.c b/common/soft_spi.c index 00a57de8a..e4250616c 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; |