projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge with /home/stefan/git/u-boot/u-boot-ppc4xx
[platform/kernel/u-boot.git]
/
common
/
soft_spi.c
diff --git
a/common/soft_spi.c
b/common/soft_spi.c
index
00a57de
..
e425061
100644
(file)
--- 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;