summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2018-09-03 11:48:13 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2018-09-03 13:27:45 +0900
commit0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2 (patch)
treeb35c809c7ff09ccd8794de5cb2b10be7e126b9e7
parent701523135a0a43bbf3f50b1b0088a1ac6d17868e (diff)
downloadu-boot-0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2.tar.gz
u-boot-0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2.tar.bz2
u-boot-0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2.zip
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>
-rw-r--r--board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr7
-rw-r--r--board/raspberrypi/rpi/tizen-boot-rpi3.scr7
2 files changed, 12 insertions, 2 deletions
diff --git a/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr b/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr
index 8bbb944f40..a108ded0f2 100644
--- a/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr
+++ b/board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr
@@ -73,7 +73,12 @@ echo "console: ${console}"
# 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 */
diff --git a/board/raspberrypi/rpi/tizen-boot-rpi3.scr b/board/raspberrypi/rpi/tizen-boot-rpi3.scr
index 2e1f59c1e8..49320de8e0 100644
--- a/board/raspberrypi/rpi/tizen-boot-rpi3.scr
+++ b/board/raspberrypi/rpi/tizen-boot-rpi3.scr
@@ -73,7 +73,12 @@ echo "console: ${console}"
# 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 */