From df35515c7bf2cd9c527e62337b39ef9bbf07cd33 Mon Sep 17 00:00:00 2001 From: "jino.cho" Date: Thu, 14 Apr 2016 15:36:28 +0900 Subject: [PATCH] artik5: fix the build error This patch fixs the build error on ARTIK5. Change-Id: I69728bc8ed5952bae44a4409c921ee5328f86a8b Signed-off-by: jino.cho --- include/configs/artik_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/artik_common.h b/include/configs/artik_common.h index 88b7a7aa9..a7000939c 100644 --- a/include/configs/artik_common.h +++ b/include/configs/artik_common.h @@ -151,6 +151,7 @@ #define CONFIG_FASTBOOT_AUTO_REBOOT #define CONFIG_FASTBOOT_AUTO_REBOOT_MODE 0x3 +#ifdef CONFIG_MACH_ARTIK10 /* DWC3 */ #define CONFIG_USB_DWC3 #define CONFIG_USB_DWC3_GADGET @@ -173,7 +174,6 @@ #define CONFIG_DFU_FUNCTION #define CONFIG_DFU_MMC #define CONFIG_CMD_DFU -#define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x02000000 #define DFU_DEFAULT_POLL_TIMEOUT 300 /* THOR */ @@ -181,6 +181,8 @@ #define CONFIG_G_DNL_THOR_PRODUCT_NUM 0x685D #define CONFIG_THOR_FUNCTION #define CONFIG_CMD_THOR_DOWNLOAD +#endif +#define CONFIG_SYS_DFU_DATA_BUF_SIZE 0x02000000 #define CONFIG_SPL #define SDMMC_DEV_OFFSET 0x00000000 -- 2.34.1