summaryrefslogtreecommitdiff
path: root/meta-quanta/meta-gbs/recipes-gbs
diff options
context:
space:
mode:
authorGeorge Hung <george.hung@quantatw.com>2020-11-09 06:20:08 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-11-11 01:49:34 +0300
commit947b9a4e1915e9d63bdd8277e2024ac405788559 (patch)
tree56a281b76f413619780430028270560b156aba7c /meta-quanta/meta-gbs/recipes-gbs
parent204ad9a83860d665cc2e9f503a1e0a670e8da051 (diff)
downloadopenbmc-947b9a4e1915e9d63bdd8277e2024ac405788559.tar.xz
meta-quanta: gbs: fix command parsing error for SATA present LED
Fix get SATA present command parsing error due to the last change to the command parsing string (From meta-quanta rev: 529a8df55b2af8eed0d1eb0594a162cfff631aab) Signed-off-by: George Hung <george.hung@quantatw.com> Change-Id: I86d2923b331e19b77dca784ffcf691c5e5f4f708 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-quanta/meta-gbs/recipes-gbs')
-rw-r--r--meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh b/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh
index 9858404a0..68adfedef 100644
--- a/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh
+++ b/meta-quanta/meta-gbs/recipes-gbs/gbs-sysinit/files/gbs-sysinit.sh
@@ -122,7 +122,7 @@ set_hdd_prsnt() {
return 1
fi
# sata_prsnt_n is active low => value "true" means low
- if [[ ${sata_prsnt_n} == "true" ]]; then
+ if [[ ${sata_prsnt_n} == "b true" ]]; then
set_gpio_direction 'HDD_PRSNT_N' low
else
set_gpio_direction 'HDD_PRSNT_N' high