FIX: config: goni: Change goni configuration to use Tizen's THOR downlodader
authorŁukasz Majewski <l.majewski@samsung.com>
Mon, 9 Jun 2014 12:02:16 +0000 (14:02 +0200)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 16 Jun 2014 04:41:53 +0000 (13:41 +0900)
Modify GONI's configuration to utilize THOR downloader.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
include/configs/s5p_goni.h

index fce1716783142364bf167976ed6a3e25a16f4c04..c92e94c56af6e01a50e829ac391a9434a069594b 100644 (file)
 #define CONFIG_USBDOWNLOAD_GADGET
 #define CONFIG_DFU_FUNCTION
 #define CONFIG_DFU_MMC
+#define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_32M
+#define DFU_DEFAULT_POLL_TIMEOUT 300
+
+/* TIZEN THOR downloader support */
+#define CONFIG_CMD_THOR_DOWNLOAD
+#define CONFIG_THOR_FUNCTION
 
 /* USB Samsung's IDs */
 #define CONFIG_G_DNL_VENDOR_NUM 0x04E8
 #define CONFIG_G_DNL_PRODUCT_NUM 0x6601
+#define CONFIG_G_DNL_THOR_VENDOR_NUM CONFIG_G_DNL_VENDOR_NUM
+#define CONFIG_G_DNL_THOR_PRODUCT_NUM 0x685D
 #define CONFIG_G_DNL_MANUFACTURER "Samsung"
 
 /* Actual modem binary size is 16MiB. Add 2MiB for bad block handling */