summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2018-09-06 22:34:32 -0500
committerHan Xu <han.xu@nxp.com>2018-09-07 09:52:36 -0500
commit713a0dbe7ee70db8433948f95f066c9cac37f37e (patch)
tree86208db6c34b82c1953bf7fc0c603d968cbc8a38 /configs
parent77542218ab68b9387a921b9540c46bc9d54af3ac (diff)
MLK-19482: imx7d_sabresd: enable fastboot for i.MX7d qspi u-boot
Enable fastboot for i.MX7d qspi u-boot. Decouple mmc_env with CONFIG_ENV_IS_IN_MMC. Disable CONFIG_SPI_FLASH_USE_4K_SECTORS for better erase performance. Signed-off-by: Han Xu <han.xu@nxp.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/mx7dsabresd_qspi1_defconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/configs/mx7dsabresd_qspi1_defconfig b/configs/mx7dsabresd_qspi1_defconfig
index 85cb971ea7..e18ad50197 100644
--- a/configs/mx7dsabresd_qspi1_defconfig
+++ b/configs/mx7dsabresd_qspi1_defconfig
@@ -9,6 +9,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx7d-sdb-qspi"
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7dsabresd/imximage.cfg"
CONFIG_QSPI_BOOT=y
CONFIG_FSL_QSPI=y
+# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
CONFIG_ENV_IS_IN_SPI_FLASH=y
# CONFIG_ENV_IS_IN_MMC is not set
CONFIG_BOOTDELAY=3
@@ -82,3 +83,13 @@ CONFIG_USB_ETHER_ASIX=y
CONFIG_VIDEO=y
CONFIG_ERRNO_STR=y
CONFIG_DM_ETH=y
+
+CONFIG_CMD_FASTBOOT=y
+CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_FSL_FASTBOOT=y
+CONFIG_FASTBOOT=y
+CONFIG_FASTBOOT_BUF_ADDR=0x83800000
+CONFIG_FASTBOOT_BUF_SIZE=0x40000000
+CONFIG_FASTBOOT_FLASH=y
+CONFIG_FASTBOOT_FLASH_MMC_DEV=1
+CONFIG_EFI_PARTITION=y