[U-Boot] [PATCH v3 11/15] sf: Add spi_boot() to allow booting from SPI flash in an SPL

Mike Frysinger vapier at gentoo.org
Fri Nov 25 22:32:48 CET 2011


On Friday 25 November 2011 07:37:40 Christian Riesch wrote:
> --- a/drivers/mtd/spi/Makefile
> +++ b/drivers/mtd/spi/Makefile
> 
> +ifdef CONFIG_SPL_BUILD
> +ifdef CONFIG_SPL_SPI_LOAD
> +COBJS-y += spi_spl_load.o
> +endif
> +endif

COBJS-$(CONFIG_SPL_SPI_LOAD) += spi_spl_load.o

> --- /dev/null
> +++ b/drivers/mtd/spi/spi_spl_load.c
>
> +	__attribute__((noreturn)) void (*uboot)(void);

__noreturn
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111125/08f32b21/attachment.pgp>


More information about the U-Boot mailing list