summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Go <sangch.go@gmail.com>2020-06-04 07:28:42 +0300
committerLuke Go <sangch.go@gmail.com>2020-06-04 07:28:42 +0300
commit5ab1287dc1de546c490d91668a1d0d1e36812c4a (patch)
treeeb77cff1c58b43abe43b6eda08470eda019abfe9
parentd22353cf09a354af8c0170cbc0f20eb3cbeca9d9 (diff)
downloadu-boot-5ab1287dc1de546c490d91668a1d0d1e36812c4a.tar.xz
ODROID: script: Change boot_recovery/rawimage sequ.
Change-Id: I133b00c66a0ad41921a59a9d5e6ce665b9c1a2a7
-rw-r--r--include/configs/odroid-g12-common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/configs/odroid-g12-common.h b/include/configs/odroid-g12-common.h
index a061e49f72..778846721c 100644
--- a/include/configs/odroid-g12-common.h
+++ b/include/configs/odroid-g12-common.h
@@ -201,8 +201,8 @@
"mmc dev ${n}; " \
"movi read dtbs 0 ${cramfsaddr}; " \
"cramfsload ${dtb_mem_addr} meson64_" CONFIG_DEVICE_PRODUCT "_android.dtb;" \
- "if test " CONFIG_DEVICE_PRODUCT " = odroidn2; then " \
- "cramfsload ${loadaddr} " CONFIG_DEVICE_PRODUCT "-opp.dtbo;" \
+ "if test ${variant} != c4; then " \
+ "cramfsload ${loadaddr} odroid${variant}-opp.dtbo;" \
"fdt addr ${dtb_mem_addr};" \
"fdt resize 8192;" \
"fdt apply ${loadaddr};" \
@@ -221,8 +221,8 @@
"mmc dev ${n}; " \
"movi read dtbs 0 ${cramfsaddr}; " \
"cramfsload ${dtb_mem_addr} meson64_" CONFIG_DEVICE_PRODUCT "_android.dtb;" \
- "if test " CONFIG_DEVICE_PRODUCT " = odroidn2; then " \
- "cramfsload ${loadaddr} " CONFIG_DEVICE_PRODUCT "-opp.dtbo;" \
+ "if test ${variant} != c4; then " \
+ "cramfsload ${loadaddr} odroid${variant}-opp.dtbo;" \
"fdt addr ${dtb_mem_addr};" \
"fdt resize 8192;" \
"fdt apply ${loadaddr};" \