samsung: tizen_amlogic: add khadas vim3l environment value 89/248289/2
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 25 Nov 2020 03:01:20 +0000 (12:01 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 25 Nov 2020 08:05:16 +0000 (17:05 +0900)
Add khadas vim3l environment value to use thor download.

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

index a12246c..e19b0cf 100644 (file)
        "meson64_odroidn2.dtb fat -1 1;"        \
        "meson64_odroidc4.dtb fat -1 1;"        \
        "kvim3_linux.dtb fat -1 1;"             \
+       "kvim3l_linux.dtb fat -1 1;"            \
        "boot.scr.uimg fat -1 1;"               \
        "params.bin fat -1 1;"                  \
        "vim3/Image.gz fat -1 1;"               \
+       "vim3l/Image.gz fat -1 1;"              \
        "odroid-n2/Image.gz fat -1 1;"          \
        "odroid-c4/Image.gz fat -1 1;"          \
        "vim3/params.bin fat -1 1;"             \
+       "vim3l/params.bin fat -1 1;"            \
        "odroid-n2/params.bin fat -1 1;"        \
        "odroid-c4/params.bin fat -1 1;"        \
        "vim3/boot.scr.uimg fat -1 1;"          \
+       "vim3l/boot.scr.uimg fat -1 1;"         \
        "odroid-n2/boot.scr.uimg fat -1 1;"     \
        "odroid-c4/boot.scr.uimg fat -1 1;"     \
        "boot.img part -1 1;"                   \
 #define DFU_ALT_BOOT_ODROID_N2 "u-boot.bin raw 0x1 0x1000;"    \
                                "u-boot-n2.bin raw 0x1 0x1000;" \
                                "u-boot-c4.bin skip 0 0;"       \
+                               "u-boot-kvim3l.bin skip 0 0;"   \
                                "u-boot-kvim3.bin skip 0 0"
 #define DFU_ALT_BOOT_VIM3      "u-boot.bin raw 0x1 0x1000;"    \
                                "u-boot-kvim3.bin raw 0x1 0x1000;" \
                                "u-boot-c4.bin skip 0 0;"       \
+                               "u-boot-kvim3l.bin skip 0 0;"   \
                                "u-boot-n2.bin skip 0 0"
 #define DFU_ALT_BOOT_ODROID_C4 "u-boot.bin raw 0x1 0x1000;"    \
                                "u-boot-c4.bin raw 0x1 0x1000;" \
                                "u-boot-kvim3.bin skip 0 0;"    \
+                               "u-boot-kvim3l.bin skip 0 0;"   \
+                               "u-boot-n2.bin skip 0 0"
+#define DFU_ALT_BOOT_VIM3L     "u-boot.bin raw 0x1 0x1000;"    \
+                               "u-boot-kvim3l.bin raw 0x1 0x1000;" \
+                               "u-boot-kvim3.bin skip 0 0;"    \
+                               "u-boot-c4.bin skip 0 0;"       \
                                "u-boot-n2.bin skip 0 0"
 #define CONFIG_SET_DFU_ALT_BUF_LEN     (SZ_1K)
 
@@ -66,6 +78,9 @@
 #ifdef CONFIG_TIZEN_KHADAS_VIM3
 #define TIZEN_BOOT_PREFIX "/vim3/ /"
 #define DFU_ALT_BOOT   DFU_ALT_BOOT_VIM3
+#elif CONFIG_TIZEN_KHADAS_VIM3L
+#define TIZEN_BOOT_PREFIX "/vim3l/ /"
+#define DFU_ALT_BOOT   DFU_ALT_BOOT_VIM3L
 #elif CONFIG_TIZEN_ODROID_N2
 #define TIZEN_BOOT_PREFIX "/odroid-n2/ /"
 #define DFU_ALT_BOOT   DFU_ALT_BOOT_ODROID_N2