configs: artik_common: define the partition number for saving env 20/148120/1
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 7 Sep 2017 01:05:56 +0000 (10:05 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 7 Sep 2017 01:21:53 +0000 (10:21 +0900)
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>
include/configs/artik_common.h

index b0e253cc8b7a24bf5d03b594b9647c3d5706df90..9df513c243b304eb40a319a05569399febcb2f9b 100755 (executable)
 
 #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