[U-Boot] [PATCH v2] arm: ls102xa: Add QSPI boot support for LS1021AQDS/TWR board

York Sun
2014-12-10T01:04:24Z

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?

York