tizen: add default dfu macros 64/140664/3 accepted/tizen/unified/20170728.195902 submit/tizen/20170728.011806
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 26 Jul 2017 02:18:55 +0000 (11:18 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 27 Jul 2017 03:15:36 +0000 (12:15 +0900)
There is CONFIG_SET_DFU_ALT_INFO, but CONFIG_DFU_ALT_BOOT_EMMC is not
set, and it causes build error for usbdown and nfsdown commands.
Add default dfu macros, CONFIG_DFU_ALT_BOOT_EMMC and
CONFIG_DFU_ALT_BOOT_SD to tizen.h which is used odroid-u3 family and
trats2 boards.
The usbdown and nfsdown commands are only possible on odroid-u3
family boards, so default dfu macros are set as odroid dfu macro.

Change-Id: Ic6ea1549492a073b6434e20f7ffcf329475f6670
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
include/configs/tizen.h

index 4c1c0770a6a554f0e9519d1ecffe2c4352228345..143009d9cd37852ddaf95fa6c18843e57501d550 100644 (file)
@@ -94,4 +94,8 @@
 #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
 #define CONFIG_MISC_INIT_R
 
+/* Default ALT from ODROID */
+#define CONFIG_DFU_ALT_BOOT_EMMC DFU_ALT_BOOT_EMMC_ODROID
+#define CONFIG_DFU_ALT_BOOT_SD DFU_ALT_BOOT_SD_ODROID
+
 #endif /* __CONFIG_H */