To identify rpi3 b model and rpi3 b+ model, set dt filename by
its model.
Note: Tizen uses raspbian vendor kernel, so raspbian dt name is
used instead of mainline file name set by booting.
Change-Id: I84dc4a38e5f21527912749eee28d784245123340
Reference:
7fe77226aa29 ("rpi: Add identifier for the new RPi3 B+")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
# Kernel image
kernel=zImage
-setenv fdtfile \"bcm2710-rpi-3-b.dtb\"
+# DT image by model
+if itest.l ${board_rev} == 0xd; then;
+ setenv fdtfile \"bcm2710-rpi-3-b-plus.dtb\"
+else
+ setenv fdtfile \"bcm2710-rpi-3-b.dtb\"
+fi
setenv boot_prefixes \"/\"
# To use comdline for using serial console. /* Normal mode */
# Kernel image
kernel=Image
-setenv fdtfile \"bcm2710-rpi-3-b.dtb\"
+# DT image by model
+if itest.l ${board_rev} == 0xd; then;
+ setenv fdtfile \"bcm2710-rpi-3-b-plus.dtb\"
+else
+ setenv fdtfile \"bcm2710-rpi-3-b.dtb\"
+fi
setenv boot_prefixes \"/\"
# To use comdline for using serial console. /* Normal mode */