summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2020-09-24 05:10:29 +0300
committerJoy Cho <joy.cho@hardkernel.com>2020-12-02 10:28:10 +0300
commit1b9ea939c380b7c61d263833a2dfa292ef8a0ac3 (patch)
tree14bb2f743aa8f72fc6240b60efcc522b5f5e992d
parent1e16cd26c48304649150a8a3ee1a83e9265dcc29 (diff)
downloadu-boot-1b9ea939c380b7c61d263833a2dfa292ef8a0ac3.tar.xz
ODROID-GO3: Change default dtb name for GO3 rev 1.0
Change-Id: I29710ee4929c0738b4c4320cb55582b87f06b5e1
-rwxr-xr-xbuild_recovery.sh2
-rw-r--r--cmd/hwrev.c4
-rw-r--r--include/configs/odroidgo3.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/build_recovery.sh b/build_recovery.sh
index 0ecf1d4233..fd4825a832 100755
--- a/build_recovery.sh
+++ b/build_recovery.sh
@@ -69,7 +69,7 @@ if [ ${BOARD} = "odroidgo3" ]; then
sudo cp ${IMAGES}/system_error_b.bmp ${MNT}/system_error.bmp
sudo cp ${IMAGES}/no_sdcard_b.bmp ${MNT}/no_sdcard.bmp
sudo cp ${IMAGES}/low_battery_b.bmp ${MNT}/low_battery.bmp
- sudo cp ./arch/arm/dts/odroidgo3-kernel.dtb ${MNT}/rk3326-odroidgo3-linux-v10.dtb
+ sudo cp ./arch/arm/dts/odroidgo3-kernel.dtb ${MNT}/rk3326-odroidgo3-linux.dtb
else
sudo cp ${IMAGES}/recovery.bmp ${MNT}
sudo cp ${IMAGES}/system_error.bmp ${MNT}
diff --git a/cmd/hwrev.c b/cmd/hwrev.c
index 26a45deb5d..640397e1cb 100644
--- a/cmd/hwrev.c
+++ b/cmd/hwrev.c
@@ -29,10 +29,10 @@ int do_hwrev(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
env_set("hwrev", "v10");
env_set("dtb_name", "rk3326-odroidgo2-linux.dtb");
}
- /* GO3 rev 0.1 */
+ /* GO3 rev 1.0 */
else if (check_range(40, 126, hwrev_adc)) {
env_set("hwrev", "v10-go3");
- env_set("dtb_name", "rk3326-odroidgo3-linux-v01.dtb");
+ env_set("dtb_name", "rk3326-odroidgo3-linux.dtb");
}
/* engineer samples */
else {
diff --git a/include/configs/odroidgo3.h b/include/configs/odroidgo3.h
index f92b4a583b..18e3070453 100644
--- a/include/configs/odroidgo3.h
+++ b/include/configs/odroidgo3.h
@@ -69,7 +69,7 @@
#undef CONFIG_EXTRA_ENV_SETTINGS
#define CONFIG_EXTRA_ENV_SETTINGS \
"fdt_addr_r=0x01f00000\0" \
- "dtb_name=rk3326-odroidgo3-linux-v01.dtb\0" \
+ "dtb_name=rk3326-odroidgo3-linux.dtb\0" \
"loadaddr=0x100000\0" \
ENV_DEV_TYPE \
ENV_DEV_NUM \
@@ -84,7 +84,7 @@
"net.iframes=0 fbcon=rotate:3\0" \
"bootcmd=mmc dev 1; cfgload; run setbootargs;" \
"load mmc 1:1 0x02000000 Image; " \
- "load mmc 1:1 0x01f00000 rk3326-odroidgo3-linux-v01.dtb; " \
+ "load mmc 1:1 0x01f00000 rk3326-odroidgo3-linux.dtb; " \
"booti 0x02000000 - 0x01f00000\0"
#undef CONFIG_BOOTDELAY