[U-Boot-Users] [PATCH] [DRIVERS] <asm/mpc8xxx_spi.h> is only available for ppc boards.
Peter Pearse
peter.pearse at arm.com
Thu Jan 24 17:33:11 CET 2008
<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 <peter.pearse at arm.com>
---
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
More information about the U-Boot
mailing list