[U-Boot] [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs

york sun york.sun at nxp.com
Thu Oct 6 18:02:43 CEST 2016


On 10/05/2016 11:03 PM, Sriram Dash wrote:
>> From: york sun
>> Sent: Thursday, October 06, 2016 12:37 AM
>> To: Sriram Dash <sriram.dash at nxp.com>; u-boot at lists.denx.de
>> Cc: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>;
>> albert.u.boot at aribaud.net; Suresh Gupta <suresh.gupta at nxp.com>
>> Subject: Re: [PATCH 1/2] armv8: ls2080: Enable CONFIG_DM_USB in defconfigs
>>
>> On 09/28/2016 11:18 PM, Sriram Dash wrote:
>>> Enables driver model flag CONFIG_DM_USB for LS2080A platform
>>> defconfigs.
>>>
>>> Signed-off-by: Sriram Dash <sriram.dash at nxp.com>
>>> ---
>>>  configs/ls2080aqds_SECURE_BOOT_defconfig | 1 +
>>>  configs/ls2080aqds_defconfig             | 1 +
>>>  configs/ls2080aqds_nand_defconfig        | 1 +
>>>  configs/ls2080aqds_qspi_defconfig        | 1 +
>>>  configs/ls2080ardb_SECURE_BOOT_defconfig | 1 +
>>>  configs/ls2080ardb_defconfig             | 1 +
>>>  configs/ls2080ardb_nand_defconfig        | 2 ++
>>>  7 files changed, 8 insertions(+)
>>
>> Sriram,
>>
>> Please retest ls2080ardb_nand. It fails in my build.
>>
>> "undefined reference to `dm_scan_fdt_dev'"
>>
>
> Hello York,
>
> As of now, nand boot is disfeatured and hence, the config is missing some features

NAND boot may be defeatured for the SDK, but not for U-Boot. It is not 
big burden to maintain it. Let's keep it running, shall we?

> for the nand boot. For this case, as the device tree is not enabled, the function isn’t
> compiled. Setting CONFIG_OF_CONTROL and CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2080a-rdb"
> will make it compile without errors.
>
> However, I will remove the the USB DM feature for nand in the next revision.

Can you add the device tree support for NAND boot?

York



More information about the U-Boot mailing list