#ifdef CONFIG_TIZEN_KHADAS_VIM3
#define TIZEN_BOOT_PREFIX "/vim3/ /"
#define DFU_ALT_BOOT DFU_ALT_BOOT_VIM3
+#define DEVICE_TREE_NAME "kvim3_linux.dtb"
#elif CONFIG_TIZEN_KHADAS_VIM3L
#define TIZEN_BOOT_PREFIX "/vim3l/ /"
#define DFU_ALT_BOOT DFU_ALT_BOOT_VIM3L
+#define DEVICE_TREE_NAME "kvim3l_linux.dtb"
#elif CONFIG_TIZEN_ODROID_N2
#define TIZEN_BOOT_PREFIX "/odroid-n2/ /"
#define DFU_ALT_BOOT DFU_ALT_BOOT_ODROID_N2
+#define DEVICE_TREE_NAME "meson64_odroidn2_drm.dtb"
#elif CONFIG_TIZEN_ODROID_C4
#define TIZEN_BOOT_PREFIX "/odroid-c4/ /"
#define DFU_ALT_BOOT DFU_ALT_BOOT_ODROID_C4
+#define DEVICE_TREE_NAME "meson64_odroidc4.dtb"
#else
#define TIZEN_BOOT_PREFIX "/ /boot/"
#define DFU_ALT_BOOT "u-boot.bin skip 0 0"
+#define DEVICE_TREE_NAME CONFIG_DEFAULT_DEVICE_TREE
#endif
#define TIZEN_ENV_SETTING \
"opts=loglevel=4\0" \
"dfu_usb_con=0\0" \
"dfu_interface=mmc\0" \
+ "fdtfile=" DEVICE_TREE_NAME "\0" \
"boot_prefixes=" TIZEN_BOOT_PREFIX "\0"
#define CONFIG_TIZEN
# Kernel image
kernel=Image.gz
-# DT image by model
-setenv fdtfile \"kvim3_linux.dtb\"
# To use comdline for using serial console. /* Normal mode */
setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
# Kernel image
kernel=Image.gz
-# DT image by model
-setenv fdtfile \"kvim3l_linux.dtb\"
# To use comdline for using serial console. /* Normal mode */
setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
# Kernel image
kernel=Image.gz
-# DT image by model
-setenv fdtfile \"meson64_odroidc4.dtb\"
# To use comdline for using serial console. /* Normal mode */
setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"
# Kernel image
kernel=Image.gz
-# DT image by model
-setenv fdtfile \"meson64_odroidn2_drm.dtb\"
# To use comdline for using serial console. /* Normal mode */
setenv bootargs \"root=/dev/${rootdev} rootwait rw no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=1080p60hz cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} usb-xhci.tablesize=2 logo=osd0,loaded ${console}\"