[RFC 1/3] bootsource: Add NET bootsource

Sascha Hauer s.hauer at pengutronix.de
Mon May 25 23:19:28 PDT 2015


Hi Wadim,

Looks good to me. Since it's marked as RFC I won't apply it, unless you
want me to.

Sascha

On Fri, May 22, 2015 at 02:11:16PM +0200, Wadim Egorov wrote:
> Signed-off-by: Wadim Egorov <w.egorov at phytec.de>
> ---
>  common/bootsource.c  | 1 +
>  include/bootsource.h | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/common/bootsource.c b/common/bootsource.c
> index 7f3d51f..707b079 100644
> --- a/common/bootsource.c
> +++ b/common/bootsource.c
> @@ -35,6 +35,7 @@ static const char *bootsource_str[] = {
>  	[BOOTSOURCE_ONENAND] = "onenand",
>  	[BOOTSOURCE_HD] = "harddisk",
>  	[BOOTSOURCE_USB] = "usb",
> +	[BOOTSOURCE_NET] = "net",
>  };
>  
>  static enum bootsource bootsource = BOOTSOURCE_UNKNOWN;
> diff --git a/include/bootsource.h b/include/bootsource.h
> index 4bca9b9..c6d3b3a 100644
> --- a/include/bootsource.h
> +++ b/include/bootsource.h
> @@ -15,6 +15,7 @@ enum bootsource {
>  	BOOTSOURCE_ONENAND,
>  	BOOTSOURCE_HD,
>  	BOOTSOURCE_USB,
> +	BOOTSOURCE_NET,
>  };
>  
>  #define BOOTSOURCE_INSTANCE_UNKNOWN	-1
> -- 
> 1.9.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list