On 02/08/2017 10:22 PM, Lokesh Vutla wrote:
> 
> 
> On Wednesday 08 February 2017 10:51 PM, Andrew F. Davis wrote:
>> Add a Kconfig option that enables Legacy image support, this allows
>> boards to explicitly disable this, for instance when needed for
>> security reasons.
>>
>> Signed-off-by: Andrew F. Davis <a...@ti.com>
>> ---
>>  Kconfig          | 8 ++++++++
>>  common/spl/spl.c | 9 +++++++--
>>  2 files changed, 15 insertions(+), 2 deletions(-)
>>
>> diff --git a/Kconfig b/Kconfig
>> index 8ce2d8c3bb..62fa667b7f 100644
>> --- a/Kconfig
>> +++ b/Kconfig
>> @@ -299,6 +299,14 @@ config SPL_RAW_IMAGE_SUPPORT
>>        is y. If this is not set, SPL will move on to other available
>>        boot media to find a suitable image.
>>  
>> +config SPL_LEGACY_IMAGE_SUPPORT
>> +    bool "Support SPL loading and booting of Legacy images"
>> +    default y
>> +    help
>> +      SPL will support loading and booting Legacy images when this option
>> +      is y. If this is not set, SPL will move on to other available
>> +      boot media to find a suitable image.
>> +
> 
> This as well can be moved under spl. Or is there any specific reason you
> keep it here?
> 

I think this is the best spot. It is under "Boot images", like FIT
support options above this, the SPL image loading support defines what
type of images U-Boot should be built into. At some point we should have
the U-Boot build types depend on the SPL support for that type.

Thanks,
Andrew

> Thanks and regards,
> Lokesh
> 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to