* [U-Boot] [PATCH v2] microblaze: Call spi_init function
@ 2013-08-08 13:33 Jagannadha Sutradharudu Teki
2013-08-09 6:50 ` Jagan Teki
0 siblings, 1 reply; 2+ messages in thread
From: Jagannadha Sutradharudu Teki @ 2013-08-08 13:33 UTC (permalink / raw)
To: u-boot
From: Michal Simek <monstr@monstr.eu>
Initialization spi.
Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Stephan Linz <linz@li-pro.net>
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
---
Changes for v2:
- rebase to current tree.
arch/microblaze/lib/board.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
index 8267191..f7182f2 100644
--- a/arch/microblaze/lib/board.c
+++ b/arch/microblaze/lib/board.c
@@ -16,6 +16,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>
@@ -147,6 +148,10 @@ void board_init_f(ulong not_used)
}
#endif
+#ifdef CONFIG_SPI
+ spi_init();
+#endif
+
/* relocate environment function pointers etc. */
env_relocate();
--
1.8.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH v2] microblaze: Call spi_init function
2013-08-08 13:33 [U-Boot] [PATCH v2] microblaze: Call spi_init function Jagannadha Sutradharudu Teki
@ 2013-08-09 6:50 ` Jagan Teki
0 siblings, 0 replies; 2+ messages in thread
From: Jagan Teki @ 2013-08-09 6:50 UTC (permalink / raw)
To: u-boot
On 08-08-2013 19:03, Jagannadha Sutradharudu Teki wrote:
> From: Michal Simek <monstr@monstr.eu>
>
> Initialization spi.
>
> Signed-off-by: Michal Simek <monstr@monstr.eu>
> Acked-by: Stephan Linz <linz@li-pro.net>
> Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
> ---
> Changes for v2:
> - rebase to current tree.
>
> arch/microblaze/lib/board.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c
> index 8267191..f7182f2 100644
> --- a/arch/microblaze/lib/board.c
> +++ b/arch/microblaze/lib/board.c
> @@ -16,6 +16,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>
> @@ -147,6 +148,10 @@ void board_init_f(ulong not_used)
> }
> #endif
>
> +#ifdef CONFIG_SPI
> + spi_init();
> +#endif
> +
> /* relocate environment function pointers etc. */
> env_relocate();
>
>
Applied to u-boot-spi/master
--
Thanks,
Jagan.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-09 6:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08 13:33 [U-Boot] [PATCH v2] microblaze: Call spi_init function Jagannadha Sutradharudu Teki
2013-08-09 6:50 ` Jagan Teki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox