* [U-Boot] [PATCH] microblaze: Call spi_init function
@ 2012-08-10 7:09 Michal Simek
2012-08-10 16:16 ` Stephan Linz
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2012-08-10 7:09 UTC (permalink / raw)
To: u-boot
Initialization spi.
Signed-off-by: Michal Simek <monstr@monstr.eu>
---
arch/microblaze/lib/board.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 674b573..ef4bac4 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib/board.c
@@ -32,6 +32,7 @@
#include <stdio_dev.h>
#include <serial.h>
#include <net.h>
+#include <spi.h>
#include <linux/compiler.h>
#include <asm/processor.h>
#include <asm/microblaze_intc.h>
@@ -166,6 +167,10 @@ void board_init_f(ulong not_used)
}
#endif
+#ifdef CONFIG_SPI
+ spi_init();
+#endif
+
/* relocate environment function pointers etc. */
env_relocate ();
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] microblaze: Call spi_init function
2012-08-10 7:09 [U-Boot] [PATCH] microblaze: Call spi_init function Michal Simek
@ 2012-08-10 16:16 ` Stephan Linz
0 siblings, 0 replies; 2+ messages in thread
From: Stephan Linz @ 2012-08-10 16:16 UTC (permalink / raw)
To: u-boot
Am Freitag, den 10.08.2012, 09:09 +0200 schrieb Michal Simek:
> Initialization spi.
>
> Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephan Linz <linz@li-pro.net>
> ---
> arch/microblaze/lib/board.c | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
> index 674b573..ef4bac4 100644
> --- a/arch/microblaze/lib/board.c
> +++ b/arch/microblaze/lib/board.c
> @@ -32,6 +32,7 @@
> #include <stdio_dev.h>
> #include <serial.h>
> #include <net.h>
> +#include <spi.h>
> #include <linux/compiler.h>
> #include <asm/processor.h>
> #include <asm/microblaze_intc.h>
> @@ -166,6 +167,10 @@ void board_init_f(ulong not_used)
> }
> #endif
>
> +#ifdef CONFIG_SPI
> + spi_init();
> +#endif
> +
> /* relocate environment function pointers etc. */
> env_relocate ();
>
--
Viele Gr??e,
Stephan Linz
______________________________________________________________________________
MB-Ref: http://www.li-pro.de/xilinx_mb:mbref:start
OpenDCC: http://www.li-pro.net/opendcc.phtml
PC/M: http://www.li-pro.net/pcm.phtml
Sourceforge: http://sourceforge.net/users/slz
Gitorious: https://gitorious.org/~slz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-10 16:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-10 7:09 [U-Boot] [PATCH] microblaze: Call spi_init function Michal Simek
2012-08-10 16:16 ` Stephan Linz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.