
From: york sun Sent: Thursday, October 06, 2016 9:33 PM To: Sriram Dash sriram.dash@nxp.com; u-boot@lists.denx.de Cc: Prabhakar Kushwaha prabhakar.kushwaha@nxp.com; albert.u.boot@aribaud.net; Suresh Gupta suresh.gupta@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@nxp.com; u-boot@lists.denx.de Cc: Prabhakar Kushwaha prabhakar.kushwaha@nxp.com; albert.u.boot@aribaud.net; Suresh Gupta suresh.gupta@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@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