summaryrefslogtreecommitdiff
path: root/meta-fii
diff options
context:
space:
mode:
authorXP Chen <xiao-peng.chen@fii-na.com>2021-08-31 08:01:17 +0300
committerVivekanand Veeracholan <vveerach@google.com>2021-09-28 21:33:22 +0300
commit78dbf47136a78d72fe10509b958dbb1b8753e9e9 (patch)
tree89fb7dcee4392ce89963fbafa78beab2dcd6806a /meta-fii
parent9457cdd4e0c6f8294124f9a8c733e031cc2119cc (diff)
downloadopenbmc-78dbf47136a78d72fe10509b958dbb1b8753e9e9.tar.xz
meta-fii/meta-kudo: Modify kudo-fw.sh with updated nvparm address
1. Based on newer version of Ampere's nvparm spec updated nvparm Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: I47a338fcb483c5c22f3a9799088c54de1a9a5153
Diffstat (limited to 'meta-fii')
-rw-r--r--meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-fw.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-fw.sh b/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-fw.sh
index 5e0763a64..560716c23 100644
--- a/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-fw.sh
+++ b/meta-fii/meta-kudo/recipes-kudo/kudo-fw-utility/kudo-fw/kudo-fw.sh
@@ -40,9 +40,10 @@ function fwbios() {
fi
i2cset -y -f -a 13 0x76 0x10 0x00
- # Disable LPI mode NV_SI_CPU_LPI_FREQ_DISABLE.
- # Moved to before SCP as fwscp function returns 0 on success
+ # Disable LPI mode NV_SI_CPU_LPI_FREQ_DISABLE for SCP 1.06 and older.
nvparm -s 0x1 -o 0x114090
+ # Disable LPI mode NV_SI_CPU_LPI_FREQ_DISABLE for SCP 1.07 and newer
+ nvparm -s 0x1 -o 0x5F0638
# TODO: Disabled toggling of SMPro heartbeat (require CPLD v 1.12.0.0+)
# nvparm -s 0x1 -o 0x5F0638
if [ $? -ne 0 ]; then