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

Sriram Dash sriram.dash at nxp.com
Fri Oct 7 06:53:50 CEST 2016


>From: york sun
>Sent: Thursday, October 06, 2016 9:33 PM
>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 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?
>

OK.

>> 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?
>

Sure. I will add the support for the device tree in next patch rev.

>York



More information about the U-Boot mailing list