<asm/mpc8xxx_spi.h> is only available for ppc boards.

Patch against 
git://www.denx.de/git/u-boot.git 
commit 33dac03b1b5d61e4fed7bad445ba40b4c97feba0

Signed-off-by: Peter Pearse <[EMAIL PROTECTED]>

---
diff -purN u-boot_unpatched/drivers/spi/mpc8xxx_spi.c
u-boot/drivers/spi/mpc8xxx_spi.c
--- u-boot_unpatched/drivers/spi/mpc8xxx_spi.c  2008-01-24
16:18:07.375090000 +0000
+++ u-boot/drivers/spi/mpc8xxx_spi.c    2008-01-24 16:14:50.560475000 +0000
@@ -23,7 +23,13 @@
 
 #include <common.h>
 #include <spi.h>
+
+#if defined(CONFIG_MPC834X) || \
+       defined(CONFIG_MPC8313) || \
+       defined(CONFIG_MPC8315) || \
+       defined(CONFIG_MPC837X)
 #include <asm/mpc8xxx_spi.h>
+#endif
 
 #ifdef CONFIG_HARD_SPI
---

or should asm-ppc/mpc8xxx_spi.h be moved to drivers/spi?


Regards

Peter



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to