public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] [DRIVERS] <asm/mpc8xxx_spi.h> is only available for ppc boards.
@ 2008-01-24 16:33 Peter Pearse
  2008-01-24 16:50 ` Andy Fleming
  0 siblings, 1 reply; 24+ messages in thread
From: Peter Pearse @ 2008-01-24 16:33 UTC (permalink / raw)
  To: u-boot


<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@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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2008-03-23  0:46 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-24 16:33 [U-Boot-Users] [PATCH] [DRIVERS] <asm/mpc8xxx_spi.h> is only available for ppc boards Peter Pearse
2008-01-24 16:50 ` Andy Fleming
2008-01-24 17:01   ` Kim Phillips
2008-02-08 22:48     ` Ladislav Michl
2008-02-09  0:10       ` Ben Warren
2008-02-09  0:43         ` Ladislav Michl
2008-02-09  2:35           ` Ben Warren
2008-02-11  0:38           ` [U-Boot-Users] u-boot patch submission process Todd Fischer
2008-02-11  4:43             ` Dirk Behme
2008-02-11  8:26               ` Haavard Skinnemoen
2008-02-11 15:03                 ` [U-Boot-Users] Broken (ARM) build, was: " Dirk Behme
2008-02-11 23:25                 ` [U-Boot-Users] " Wolfgang Denk
2008-02-12  9:36                   ` Peter Pearse
2008-02-12 10:22                   ` Haavard Skinnemoen
2008-02-12 22:52                     ` Wolfgang Denk
2008-02-13 19:04                       ` Jerry Van Baren
2008-02-13 22:55                         ` Wolfgang Denk
2008-02-11  9:01               ` Peter Pearse
2008-03-23  0:34           ` [U-Boot-Users] [PATCH] [DRIVERS] <asm/mpc8xxx_spi.h> is only available for ppc boards Wolfgang Denk
2008-03-23  0:46             ` Ben Warren
2008-02-09  0:14       ` Haavard Skinnemoen
2008-01-24 17:28   ` Ben Warren
2008-01-24 18:18     ` [U-Boot-Users] ppc start.S 'rfmci' opcode not recognized by ppc-440 compiler k b
2008-01-24 23:16       ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox