From dacb49401149dda4a4062aa89ffd6ba864f09b09 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Wed, 26 Jul 2017 11:18:55 +0900 Subject: [PATCH] tizen: add default dfu macros 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 --- include/configs/tizen.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/tizen.h b/include/configs/tizen.h index 9d2ed13ce3..a81c0210ea 100644 --- a/include/configs/tizen.h +++ b/include/configs/tizen.h @@ -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 */ -- 2.34.1