summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjin Kim <tobetter@gmail.com>2022-04-13 18:45:12 +0300
committerDongjin Kim <tobetter@gmail.com>2022-04-13 18:45:15 +0300
commit88b784f02e6056b8a69e93a7494cd62fb4c221d5 (patch)
tree8c15ac03a6033ee615035f6d2a9b9c9722ece134
parent34751fb83d30f2f750eb5b1f0df00499d27dcc67 (diff)
downloadu-boot-88b784f02e6056b8a69e93a7494cd62fb4c221d5.tar.xz
ODROID-M1: fix add 'variant' env variable as 'm1'
Currently, we have only ODROID-M1 based on RK3568 so use "m1" and change it for others if we have more variant models. Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: I4acacc1d7d6364bade8787de3097d0d270a5e7e3
-rw-r--r--board/hardkernel/odroid-m1/odroid-m1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hardkernel/odroid-m1/odroid-m1.c b/board/hardkernel/odroid-m1/odroid-m1.c
index 497d4bfd77..6fefc3d849 100644
--- a/board/hardkernel/odroid-m1/odroid-m1.c
+++ b/board/hardkernel/odroid-m1/odroid-m1.c
@@ -62,6 +62,7 @@ int rk_board_late_init(void)
}
env_set("bootcmd", buf);
+ env_set("variant", "m1"); /* FIXME: if we have variant model */
return 0;
}