Message ID | 1402315336-12605-1-git-send-email-l.majewski@samsung.com |
---|---|
State | Accepted |
Delegated to: | Minkyu Kang |
Headers | show |
On 09/06/14 21:02, Lukasz Majewski wrote: > Modify GONI's configuration to utilize THOR downloader. > > Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> > --- > include/configs/s5p_goni.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h > index 804f97f..6e795bf 100644 > --- a/include/configs/s5p_goni.h > +++ b/include/configs/s5p_goni.h > @@ -79,10 +79,18 @@ > #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 */ > applied to u-boot-samsung. Thanks, Minkyu Kang.
diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 804f97f..6e795bf 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -79,10 +79,18 @@ #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 */
Modify GONI's configuration to utilize THOR downloader. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com> --- include/configs/s5p_goni.h | 8 ++++++++ 1 file changed, 8 insertions(+)