diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2018-09-03 11:48:13 +0900 |
---|---|---|
committer | Seung-Woo Kim <sw0312.kim@samsung.com> | 2018-09-03 13:27:45 +0900 |
commit | 0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2 (patch) | |
tree | b35c809c7ff09ccd8794de5cb2b10be7e126b9e7 | |
parent | 701523135a0a43bbf3f50b1b0088a1ac6d17868e (diff) | |
download | u-boot-0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2.tar.gz u-boot-0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2.tar.bz2 u-boot-0fc114db15f29ffddd0d1dd3fa2d0dad9cf91ef2.zip |
rpi: tizen-boot: rpi3/rpi3-32b: set dt filename by its modelsubmit/tizen_5.0/20181101.000005submit/tizen/20180904.010142accepted/tizen/unified/20180905.140109accepted/tizen/5.0/unified/20181102.022508
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.scr | 7 | ||||
-rw-r--r-- | board/raspberrypi/rpi/tizen-boot-rpi3.scr | 7 |
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 */ |