[U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

Simon Glass sjg at chromium.org
Mon May 8 16:38:15 UTC 2017


Hi Andreas,

On 1 May 2017 at 11:48, Andreas Färber <afaerber at suse.de> wrote:
> Am 01.05.2017 um 19:41 schrieb Andreas Färber:
>> diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig
>> index f5783100c0..5e4d5f03a4 100644
>> --- a/configs/geekbox_defconfig
>> +++ b/configs/geekbox_defconfig
>> @@ -4,6 +4,7 @@ CONFIG_ROCKCHIP_RK3368=y
>>  CONFIG_TARGET_GEEKBOX=y
>>  CONFIG_DEFAULT_DEVICE_TREE="rk3368-geekbox"
>>  CONFIG_HUSH_PARSER=y
>> +CONFIG_DEFAULT_FDT_FILE="rockchip/rk3368-geekbox.dtb"
>
> The PX5 and Sheep boards would need the equivalent config setting or an
> empty #define FDTFILE, otherwise they'd end up with fdtfile=\0.

Can you fix that by making it empty automatically in that case? E.g.:

#ifndef FDTFILE
#define FDTFILE "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
#else
#define FDTFILE
#endif

>
> Regards,
> Andreas
>
>>  # CONFIG_DISPLAY_CPUINFO is not set
>>  # CONFIG_CMD_IMLS is not set
>>  CONFIG_REGMAP=y

Regards,
Simon


More information about the U-Boot mailing list