From: Marek Szyprowski Date: Thu, 3 Dec 2020 16:24:30 +0000 (+0100) Subject: tizen: bootscript: amlogic: use proper string comparison operator X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=816d3b33afa2417a10dda144400a3b974c48b121;p=platform%2Fkernel%2Fu-boot.git tizen: bootscript: amlogic: use proper string comparison operator The proper string comparison operator for u-boot's test is '='. Signed-off-by: Marek Szyprowski Change-Id: Ic7a3f5f6b456631473df94e311694774651c4144 --- diff --git a/tizen/bootscript/tizen-boot-amlogic-64b.scr b/tizen/bootscript/tizen-boot-amlogic-64b.scr index b454df8b4a..aaa5d16fdb 100644 --- a/tizen/bootscript/tizen-boot-amlogic-64b.scr +++ b/tizen/bootscript/tizen-boot-amlogic-64b.scr @@ -2,7 +2,7 @@ # Auto Detection of Monitor settings based on your Screen information # Below values are from Hardkernel ubuntu-20.04.4.0-mate-odroid-c4-hc4-20201020.img # (Hardkernel / Odroid-c4) -if test $board_name == odroid-c4; then +if test $board_name = "odroid-c4"; then echo "ODROID-C4" setenv display_autodetect "true" setenv monitor_onoff "false" # true or false @@ -20,7 +20,7 @@ if test $board_name == odroid-c4; then # Odroid-C4 Specific setenv boot_args \"voutmode=${voutmode} disablehpd=${disablehpd} overscan=${overscan} monitor_onoff=${monitor_onoff} \" -elif test $board_name == odroid-n2; then +elif test $board_name = "odroid-n2"; then # (Hardkernel / Odroid-n2) # Auto Detection of Monitor settings based on your Screen information setenv display_autodetect "true"