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)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:25 +0000 (13:19 +0900)
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 3826de4..c6cb069 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        ""
 
@@ -76,6 +82,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