[U-Boot] [PATCH v3 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

Lokesh Vutla lokeshvutla at ti.com
Thu Feb 9 04:21:13 UTC 2017



On Wednesday 08 February 2017 10:51 PM, Andrew F. Davis wrote:
> CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it
> encounters RAW images, express this same functionality as a positive
> option enabling support for RAW images: CONFIG_SPL_RAW_IMAGE_SUPPORT
> 
> Signed-off-by: Andrew F. Davis <afd at ti.com>
> ---
>  Kconfig                           | 7 +++++++
>  README                            | 4 ----
>  common/spl/spl.c                  | 9 +++++----
>  include/configs/imx6_spl.h        | 4 ++--
>  include/configs/socfpga_de1_soc.h | 2 +-
>  include/spl.h                     | 2 +-
>  6 files changed, 16 insertions(+), 12 deletions(-)
> 
> diff --git a/Kconfig b/Kconfig
> index 8f9ea97f3d..8ce2d8c3bb 100644
> --- a/Kconfig
> +++ b/Kconfig
> @@ -291,6 +291,13 @@ config SYS_TEXT_BASE
>  	help
>  	  TODO: Move CONFIG_SYS_TEXT_BASE for all the architecture
>  
> +config SPL_RAW_IMAGE_SUPPORT
> +	bool "Support SPL loading and booting of RAW images"
> +	default y
> +	help
> +	  SPL will support loading and booting a RAW image when this option
> +	  is y. If this is not set, SPL will move on to other available
> +	  boot media to find a suitable image.

You might want to keep this under common/spl/Kconfig?

Thanks and regards,
Lokesh


More information about the U-Boot mailing list