
York,
On 12/09/2014 01:38 AM, Alison Wang wrote:
This patch adds QSPI boot support for LS1021AQDS/TWR board. The QSPI boot image need to be programmed into the QSPI flash first. Then the booting will start from QSPI memory space.
Signed-off-by: Alison Wang alison.wang@freescale.com
Change log: v2: Rebase the patch.
<snip>
diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h index 6a6f620..653dbef 100644 --- a/include/configs/ls1021aqds.h +++ b/include/configs/ls1021aqds.h
<snip>
@@ -315,7 +334,11 @@ #define CONFIG_CMDLINE_TAG #define CONFIG_CMDLINE_EDITING
+#ifdef CONFIG_QSPI_BOOT +#undef CONFIG_CMD_IMLS +#else #define CONFIG_CMD_IMLS +#endif
Is it necessary to undef?
[Alison Wang] It is necessary, because this file includes "include/config_cmd_default.h". In include/config_cmd_default.h, CONFIG_CMD_IMLS is defined.
Thanks.
[Alison Wang] I may misunderstand your meaning. For QSPI boot, IFC is disabled because IFC and QSPI are pin multiplexed, so CONFIG_CMD_IMLS should not be defined too.
Best Regards, Alison Wang