From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Linz Date: Fri, 10 Aug 2012 18:16:32 +0200 Subject: [U-Boot] [PATCH] microblaze: Call spi_init function In-Reply-To: <1344582541-31390-1-git-send-email-monstr@monstr.eu> References: <1344582541-31390-1-git-send-email-monstr@monstr.eu> Message-ID: <1344615392.9083.20.camel@keto> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Freitag, den 10.08.2012, 09:09 +0200 schrieb Michal Simek: > Initialization spi. > > Signed-off-by: Michal Simek Acked-by: Stephan Linz > --- > 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 > #include > #include > +#include > #include > #include > #include > @@ -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