[U-Boot] [PATCH][v2] armv8: ls2080aqds: Add support for SD boot

Tom Rini trini at konsulko.com
Thu Mar 2 13:46:58 UTC 2017


On Thu, Mar 02, 2017 at 04:05:49PM +0530, Santan Kumar wrote:

A little here please.

> Signed-off-by: Santan Kumar <santan.kumar at nxp.com>
> Signed-off-by: Priyanka Jain <priyanka.jain at nxp.com>
> Signed-off-by: Abhimanyu Saini <abhimanyu.saini at nxp.com>
[snip]
> diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h
> index ae72939..d63208b 100644
> --- a/include/configs/ls2080a_common.h
> +++ b/include/configs/ls2080a_common.h
> @@ -230,6 +230,8 @@ unsigned long long get_qixis_addr(void);
>  #define CONFIG_SPL_NAND_SUPPORT
>  #define CONFIG_SYS_NAND_U_BOOT_DST	0x80400000
>  #define CONFIG_SYS_NAND_U_BOOT_START	CONFIG_SYS_NAND_U_BOOT_DST
> +#elif defined(CONFIG_SD_BOOT)
> +#define CONFIG_SPL_MMC_SUPPORT

This is in Kconfig.

> @@ -165,12 +169,14 @@ unsigned long get_board_ddr_clk(void);
>  #define QIXIS_LBMAP_DFLTBANK		0x00
>  #define QIXIS_LBMAP_ALTBANK		0x04
>  #define QIXIS_LBMAP_NAND		0x09
> +#define QIXIS_LBMAP_SD			0x00
>  #define QIXIS_LBMAP_QSPI		0x0f
>  #define QIXIS_RST_CTL_RESET		0x31
>  #define QIXIS_RCFG_CTL_RECONFIG_IDLE	0x20
>  #define QIXIS_RCFG_CTL_RECONFIG_START	0x21
>  #define QIXIS_RCFG_CTL_WATCHDOG_ENBLE	0x08
>  #define QIXIS_RCW_SRC_NAND		0x107
> +#define QIXIS_RCW_SRC_SD		0x40
>  #define QIXIS_RCW_SRC_QSPI		0x62
>  #define	QIXIS_RST_FORCE_MEM		0x01

All of this needs to get moved out of the config header file.  Please
make a note to add this to your TODO list, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170302/8c642779/attachment.sig>


More information about the U-Boot mailing list