summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan Xu <han.xu@nxp.com>2018-09-14 16:13:35 -0500
committerHan Xu <han.xu@nxp.com>2018-09-14 16:13:35 -0500
commit071dcb43930a51722be70850cf3e4be6b2d11f1f (patch)
tree4e4dd372c4d97eb46dd6f72b1d9cb938b8de174d
parent0d622f26548e5d384ab115add4c5e3478c2d9ecf (diff)
MLK-19594: imx8qx: config: enable fastboot for i.MX8QXP lpddr4 validation defconfig
enable fastboot for i.MX8QXP arm2 lpddr4 validation defconfig and add NAND parameters for all configs. Signed-off-by: Han Xu <han.xu@nxp.com>
-rw-r--r--configs/imx8qxp_lpddr4_arm2_defconfig12
-rw-r--r--include/configs/imx8qxp_arm2.h3
2 files changed, 13 insertions, 2 deletions
diff --git a/configs/imx8qxp_lpddr4_arm2_defconfig b/configs/imx8qxp_lpddr4_arm2_defconfig
index e64f897ab5..480f9e4d6a 100644
--- a/configs/imx8qxp_lpddr4_arm2_defconfig
+++ b/configs/imx8qxp_lpddr4_arm2_defconfig
@@ -85,3 +85,15 @@ CONFIG_DM_DEVICE_REMOVE=n
CONFIG_SMC_FUSE=y
CONFIG_CMD_MEMTEST=y
+
+CONFIG_FASTBOOT=y
+CONFIG_USB_FUNCTION_FASTBOOT=y
+CONFIG_CMD_FASTBOOT=y
+CONFIG_ANDROID_BOOT_IMAGE=y
+CONFIG_FSL_FASTBOOT=y
+CONFIG_FASTBOOT_BUF_ADDR=0x82800000
+CONFIG_FASTBOOT_BUF_SIZE=0x40000000
+CONFIG_FASTBOOT_FLASH=y
+CONFIG_FASTBOOT_FLASH_MMC_DEV=0
+CONFIG_FASTBOOT_USB_DEV=1
+CONFIG_EFI_PARTITION=y
diff --git a/include/configs/imx8qxp_arm2.h b/include/configs/imx8qxp_arm2.h
index be1a99f6e9..042bad8be9 100644
--- a/include/configs/imx8qxp_arm2.h
+++ b/include/configs/imx8qxp_arm2.h
@@ -115,8 +115,7 @@
"\0" \
"initrd_addr=0x83100000\0" \
"initrd_high=0xffffffffffffffff\0" \
- MFG_NAND_PARTITION \
- "\0"\
+ "mtdparts=mtdparts=gpmi-nand:128m(nandboot),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs)\0"
/* Initial environment variables */
#ifdef CONFIG_NAND_BOOT