configs: tizen_tm1: fix the duplicated defined config 58/152858/2
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 27 Sep 2017 07:07:04 +0000 (16:07 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 27 Sep 2017 12:25:25 +0000 (12:25 +0000)
Some configurations are defined the twice.
If configuration is not defined, it needs to define at that time.

Change-Id: I8ee34f434fd3e532e610eadb16e6a36954615ee9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/configs/tizen_tm1.h

index c815126..81be832 100644 (file)
 #ifdef  CONFIG_CMD_MMC
 #define CONFIG_CMD_FAT                 1
 #define CONFIG_FAT_WRITE               1
+#ifndef CONFIG_MMC
 #define CONFIG_MMC                     1
+#endif /* !CONFIG_MMC */
 #define CONFIG_GENERIC_MMC             1
 #define CONFIG_SDHCI                   1
 #define CONFIG_SDHCI_CTRL_NO_HISPD     1 /* disable high speed control */
 #define CONFIG_MMC_SDMA                        1
 #define CONFIG_MV_SDHCI                        1
 #define CONFIG_DOS_PARTITION           1
+#ifndef CONFIG_EFI_PARTITION
 #define CONFIG_EFI_PARTITION           1
+#endif /* !CONFIG_EFI_PARTITION */
 #define CONFIG_SYS_MMC_NUM             1
 #define CONFIG_SYS_MMC_BASE            {0x20600000}
 #define CONFIG_SYS_SD_BASE             0x20300000