[U-Boot] [PATCH 2/2] efi_loader: Fall back to fdtfile naming convention

Alexander Graf agraf at suse.de
Thu Apr 14 15:53:05 CEST 2016


On 04/14/2016 01:24 AM, Stephen Warren wrote:
> On 04/13/2016 03:22 PM, Alexander Graf wrote:
>> When there is no $fdtfile variable set, we still have a good chance
>> that on 32bit arm the fdtfile really is just called $soc-$board.dtb.
>>
>> Enable the exports for $soc and $board in our distr defaults and make
>> use of them in the efi boot script.
>
>> diff --git a/include/config_distro_defaults.h 
>> b/include/config_distro_defaults.h
>
>> +#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
>
> Shouldn't that be CONFIG_ENV_VARS_UBOOT_CONFIG? That's what 
> include/env_defaults.h uses to trigger defining $soc and $board. 
> CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG seems to be about setting 
> board_name and board_rev according to README.

Oops, you're very right of course.

Alex



More information about the U-Boot mailing list