public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stephan Linz <linz@li-pro.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] microblaze: Call spi_init function
Date: Fri, 10 Aug 2012 18:16:32 +0200	[thread overview]
Message-ID: <1344615392.9083.20.camel@keto> (raw)
In-Reply-To: <1344582541-31390-1-git-send-email-monstr@monstr.eu>

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

      reply	other threads:[~2012-08-10 16:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10  7:09 [U-Boot] [PATCH] microblaze: Call spi_init function Michal Simek
2012-08-10 16:16 ` Stephan Linz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1344615392.9083.20.camel@keto \
    --to=linz@li-pro.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox