samsung: tizen_rpi: add dfu setup informations 45/222845/2 accepted/tizen/unified/20200121.121258 submit/tizen/20200121.034330
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 20 Jan 2020 21:55:14 +0000 (06:55 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 21 Jan 2020 00:36:22 +0000 (00:36 +0000)
Add dfu setup informations.
- usb controller index : 0
- dfu interface : mmc(eMMC/SD)
- default dfu device : 0

After applied this patch, it will be worked with "thor" instead of "thor 0 mmc 0".

Change-Id: I32294af8531532ea86333853fb208c2c23deb33d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/samsung/tizen_rpi.h

index eef0c57..edbbde4 100644 (file)
@@ -53,6 +53,9 @@
 #define TIZEN_VC_MEM "vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 "
 #endif
 
+/* SD/MMC configuration */
+#define CONFIG_MMC_DEFAULT_DEV 0
+
 /*
 # Tizen kernel image is over than 16MB, it will be overlapped with other address.
 # To avoid this behaivor, change to 0x03300000 from 0x01000000
@@ -90,6 +93,9 @@
                TIZEN_VC_MEM                            \
                "8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2709.serial=0xed6687d3 "                \
                "bcm2709.uart_clock=48000000 dwc_otg.lpm_enable=0\0"    \
-       "opts=loglevel=4\0"
+       "opts=loglevel=4\0"                     \
+       "dfu_usb_con=0\0"                       \
+       "dfu_interface=mmc\0"                   \
+       "dfu_device=" __stringify(CONFIG_MMC_DEFAULT_DEV) "\0"
 
 #endif /* __CONFIG_TIZEN_RPI_H */