tizen: add default dfu macros
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 26 Jul 2017 02:18:55 +0000 (11:18 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 01:35:22 +0000 (10:35 +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 9d2ed13..a81c021 100644 (file)
@@ -93,4 +93,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 */