summaryrefslogtreecommitdiff
path: root/include/configs/mx6sabresd.h
diff options
context:
space:
mode:
authorSanshan Zhang <sanshan.zhang@nxp.com>2017-03-01 17:00:10 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 19:48:36 +0800
commit4d226b92b3dd577bf02c11d1e0d32494b68a5a66 (patch)
tree896f96628e03af9c5a00f99458f102dcfeea8b3b /include/configs/mx6sabresd.h
parent9fe1f23c2bcb263a91a2044cb0105963844dcc06 (diff)
downloadu-boot-imx-4d226b92b3dd577bf02c11d1e0d32494b68a5a66.zip
u-boot-imx-4d226b92b3dd577bf02c11d1e0d32494b68a5a66.tar.gz
u-boot-imx-4d226b92b3dd577bf02c11d1e0d32494b68a5a66.tar.bz2
MA-9263-3 [Android] Partition: enable GPT partition on imx devices
1. pass androidboot.storage_type to android, 'init' use it to parse different init.freescale.storage.rc. 2. store new ptable with gpt partition. 3. we use the last LBA as backup gpt table, there is many warning log when boot, change print to debug Change-Id: I84070735e9d4c2741b0e240bc1c61b357dabc5b8 Signed-off-by: Sanshan Zhang <sanshan.zhang@nxp.com> (cherry picked from commit da0ce2787256a323371641b0764266d386d767a5) Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/configs/mx6sabresd.h')
-rw-r--r--include/configs/mx6sabresd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx6sabresd.h b/include/configs/mx6sabresd.h
index b154b63..f78bfee 100644
--- a/include/configs/mx6sabresd.h
+++ b/include/configs/mx6sabresd.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2012-2016 Freescale Semiconductor, Inc.
+ * Copyright 2017 NXP
*
* Configuration settings for the Freescale i.MX6Q SabreSD board.
*
@@ -44,7 +45,9 @@
#define CONFIG_SYS_FSL_USDHC_NUM 3
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */
+#ifndef CONFIG_SYS_MMC_ENV_PART
#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */
+#endif
#ifdef CONFIG_CMD_SF
#define CONFIG_SF_DEFAULT_CS 0