[U-Boot] [PATCH v2 12/22] configs: mx6sabresd: Add SPL FIT and DM support
Peng Fan
peng.fan at nxp.com
Tue Jan 29 13:39:36 UTC 2019
> -----Original Message-----
> From: Abel Vesa
> Sent: 2019年1月29日 19:35
> To: Tom Rini <trini at konsulko.com>; Fabio Estevam
> <fabio.estevam at nxp.com>; u-boot at lists.denx.de; dl-uboot-imx
> <uboot-imx at nxp.com>; Peng Fan <peng.fan at nxp.com>
> Cc: Nitin Garg <nitin.garg at nxp.com>; Abel Vesa <abel.vesa at nxp.com>
> Subject: [PATCH v2 12/22] configs: mx6sabresd: Add SPL FIT and DM support
>
> Enable all the necessary configs for SPL DM and FIT support for mx6sabresd.
>
> Signed-off-by: Abel Vesa <abel.vesa at nxp.com>
> ---
> configs/mx6sabresd_defconfig | 23 +++++++++++++++++++++--
> 1 file changed, 21 insertions(+), 2 deletions(-)
>
> diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig
> index 3babfd5..2b585b2 100644
> --- a/configs/mx6sabresd_defconfig
> +++ b/configs/mx6sabresd_defconfig
> @@ -4,18 +4,27 @@ CONFIG_SYS_TEXT_BASE=0x17800000
> CONFIG_SPL_GPIO_SUPPORT=y CONFIG_SPL_LIBCOMMON_SUPPORT=y
> CONFIG_SPL_LIBGENERIC_SUPPORT=y
> +CONFIG_SYS_MALLOC_F_LEN=0x2000
> CONFIG_TARGET_MX6SABRESD=y
> CONFIG_SPL_MMC_SUPPORT=y
> CONFIG_SPL_SERIAL_SUPPORT=y
> +CONFIG_SPL_SYS_MALLOC_F_LEN=0x400
> CONFIG_SPL=y
> CONFIG_SPL_LIBDISK_SUPPORT=y
> CONFIG_NR_DRAM_BANKS=1
> +CONFIG_TPL_SYS_MALLOC_F_LEN=0x400
Do we need this macro?
Regards,
Peng
> +CONFIG_FIT=y
> +CONFIG_SPL_FIT_PRINT=y
> +CONFIG_SPL_LOAD_FIT=y
> +CONFIG_SPL_FIT_SOURCE="arch/arm/mach-imx/mx6/fit_spl.its"
>
> CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cf
> g"
> # CONFIG_CONSOLE_MUX is not set
> CONFIG_SYS_CONSOLE_IS_IN_ENV=y
> CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE=y
> CONFIG_SUPPORT_RAW_INITRD=y
> CONFIG_BOUNCE_BUFFER=y
> +CONFIG_SPL_SEPARATE_BSS=y
> +CONFIG_SPL_FIT_IMAGE_TINY=y
> CONFIG_SPL_EXT_SUPPORT=y
> CONFIG_SPL_I2C_SUPPORT=y
> CONFIG_SPL_OS_BOOT=y
> @@ -47,23 +56,34 @@ CONFIG_CMD_EXT4_WRITE=y
> CONFIG_CMD_FAT=y CONFIG_CMD_FS_GENERIC=y
> CONFIG_EFI_PARTITION=y
> +CONFIG_OF_CONTROL=y
> +CONFIG_SPL_OF_CONTROL=y
> +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"
> +CONFIG_OF_LIST="imx6q-sabresd imx6qp-sabresd imx6dl-sabresd"
> +CONFIG_MULTI_DTB_FIT=y
> +CONFIG_SPL_MULTI_DTB_FIT=y
> +CONFIG_SPL_OF_LIST="imx6dl-sabresd imx6q-sabresd imx6qp-sabresd"
> CONFIG_ENV_IS_IN_MMC=y
> CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
> +CONFIG_SPL_DM=y
> CONFIG_USB_FUNCTION_FASTBOOT=y
> CONFIG_FASTBOOT_BUF_ADDR=0x12000000
> CONFIG_FASTBOOT_BUF_SIZE=0x10000000
> CONFIG_FASTBOOT_FLASH=y
> CONFIG_FASTBOOT_FLASH_MMC_DEV=2
> +CONFIG_DM_MMC=y
> CONFIG_FSL_ESDHC=y
> CONFIG_SPI_FLASH=y
> CONFIG_SPI_FLASH_STMICRO=y
> CONFIG_PHYLIB=y
> CONFIG_MII=y
> CONFIG_PCI=y
> +CONFIG_DM_REGULATOR=y
> CONFIG_SPI=y
> CONFIG_MXC_SPI=y
> CONFIG_USB=y
> -CONFIG_USB_STORAGE=y
> +CONFIG_DM_USB=y
> +# CONFIG_SPL_DM_USB is not set
> CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_MANUFACTURER="FSL"
> CONFIG_USB_GADGET_VENDOR_NUM=0x0525
> @@ -73,4 +93,3 @@ CONFIG_USB_HOST_ETHER=y
> CONFIG_USB_ETHER_ASIX=y CONFIG_VIDEO=y #
> CONFIG_VIDEO_SW_CURSOR is not set -CONFIG_OF_LIBFDT=y
> --
> 2.7.4
More information about the U-Boot
mailing list