summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2017-09-07 10:05:56 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2017-09-07 10:21:53 +0900
commit13f7dc4ee82643319b80d0db2ca5b7ab960e5686 (patch)
treecc649abd0236d466bc2540fe5cc82813fb6db2e5
parentabeaac7d830a2eb5b72254be059f72133b94ada6 (diff)
downloadu-boot-artik-13f7dc4ee82643319b80d0db2ca5b7ab960e5686.tar.gz
u-boot-artik-13f7dc4ee82643319b80d0db2ca5b7ab960e5686.tar.bz2
u-boot-artik-13f7dc4ee82643319b80d0db2ca5b7ab960e5686.zip
configs: artik_common: define the partition number for saving env
eMMC has the physical boot partitions. It's used for booting. Environment variable can be located into boot partition. When it's saved and loaded, it needs to define which partition is used. Define the CONFIG_SYS_MMC_ENV_PART for saving environment variable. Change-Id: Ib3d16b0685ad0cca5dab19144d72ceb8ab3f8c7f Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rwxr-xr-xinclude/configs/artik_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/artik_common.h b/include/configs/artik_common.h
index b0e253cc8..9df513c24 100755
--- a/include/configs/artik_common.h
+++ b/include/configs/artik_common.h
@@ -215,6 +215,7 @@
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 0
+#define CONFIG_SYS_MMC_ENV_PART 1
/* Configuration for Partition */
#define CONFIG_DOS_PARTITION