From 2360514efff5662b2df2b60de2b75effa5812834 Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Tue, 21 Jan 2020 06:55:14 +0900 Subject: [PATCH] samsung: tizen_rpi: add dfu setup informations 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 --- include/samsung/tizen_rpi.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/samsung/tizen_rpi.h b/include/samsung/tizen_rpi.h index eef0c57..edbbde4 100644 --- a/include/samsung/tizen_rpi.h +++ b/include/samsung/tizen_rpi.h @@ -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 */ -- 2.7.4