summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoy Cho <joy.cho@hardkernel.com>2020-07-14 07:16:18 +0300
committerJoy Cho <joy.cho@hardkernel.com>2020-12-02 10:25:51 +0300
commit8a7bc854b52a073c80ed835dec517a506084c3df (patch)
treea56d3f50784e5065c1c38fd2af7fb77196a7fa2d
parent6797a5eb3f90bd6e15ff09446195782293dbca82 (diff)
downloadu-boot-8a7bc854b52a073c80ed835dec517a506084c3df.tar.xz
cmd: hwrev: Add a hwrev value of ODROID-GO3 rev1.0
Change-Id: Ie884db75259c94bb4c2f6273b9e40a5191e5a11e
-rw-r--r--cmd/hwrev.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/cmd/hwrev.c b/cmd/hwrev.c
index c0d1ce4607..7970c2ef52 100644
--- a/cmd/hwrev.c
+++ b/cmd/hwrev.c
@@ -19,16 +19,21 @@ int do_hwrev(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
return CMD_RET_FAILURE;
}
- /* rev 1.1 */
+ /* GO2 rev 1.1 */
if (check_range(655, 695, hwrev_adc)) {
env_set("hwrev", "v11");
env_set("dtb_name", "rk3326-odroidgo2-linux-v11.dtb");
}
- /* rev 1.0 */
+ /* GO2 rev 1.0 */
else if (check_range(816, 896, hwrev_adc)) {
env_set("hwrev", "v10");
env_set("dtb_name", "rk3326-odroidgo2-linux.dtb");
}
+ /* GO3 rev 1.0 */
+ else if (check_range(40, 126, hwrev_adc)) {
+ env_set("hwrev", "v10-go3");
+ env_set("dtb_name", "rk3326-odroidgo3-linux-v10.dtb");
+ }
/* engineer samples */
else {
env_set("hwrev", "v00");