samsung: tizen_amlogic: add dfu_alt_boot for Odroid-C4
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 9 Nov 2020 04:34:59 +0000 (13:34 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
Add dfu_alt_boot for Odroid-C4.
Bootloader name should be u-boot-c4.bin.

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

index e7b6cd5..0b8eecd 100644 (file)
 
 #define DFU_ALT_BOOT_EMMC_ODROID_N2    "u-boot.bin raw 0x1 0x850;"     \
                                "u-boot-n2.bin raw 0x1 0x850;"          \
+                               "u-boot-c4.bin skip 0 0;"       \
                                "u-boot-kvim3.bin skip 0 0"
 #define DFU_ALT_BOOT_EMMC_KVIM3        "u-boot.bin raw 0x1 0x850;"     \
                                "u-boot-kvim3.bin raw 0x1 0x850;"       \
+                               "u-boot-c4.bin skip 0 0;"       \
+                               "u-boot-n2.bin skip 0 0"
+#define DFU_ALT_BOOT_EMMC_ODROID_C4    "u-boot.bin raw 0x1 0x850;"     \
+                               "u-boot-c4.bin raw 0x1 0x850;"  \
+                               "u-boot-kvim3.bin skip 0 0;"    \
                                "u-boot-n2.bin skip 0 0"
 #define DFU_ALT_BOOT_SD        ""
 #define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
@@ -83,6 +89,8 @@
 #define TIZEN_BOOT_PREFIX "/vim3/ /\0"
 #elif CONFIG_TIZEN_ODROID_N2
 #define TIZEN_BOOT_PREFIX "/odroid-n2/ /\0"
+#elif CONFIG_TIZEN_ODROID_C4
+#define TIZEN_BOOT_PREFIX "/odroid-c4/ /\0"
 #else
 #define TIZEN_BOOT_PREFIX "/ /boot/\0"
 #endif