commit | 06bb2750c274397ca44fd7d98a2827653d420dc9 | [log] [tgz] |
---|---|---|
author | XP Chen <xiao-peng.chen@fii-na.com> | Thu Jun 17 16:45:18 2021 -0500 |
committer | Vivekanand Veeracholan <vveerach@google.com> | Fri Jun 18 19:00:01 2021 +0000 |
tree | 586a39d470db9230d03cee0a2eb32b9429f2dd92 | |
parent | 8fe3fbad4e4ca00c29f538753bbf19c4755642a5 [diff] |
meta-fii/meta-kudo: Set Ampere CPU LPI_FREQ_Disable Add method to disable LPI mode for Ampere CPU when flash kudo bios Signed-off-by: XP Chen <xiao-peng.chen@fii-na.com> Change-Id: Ieec4b93bceceb9e809482b14686582d0b1cbc971
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 1ef73cc..d103747 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
@@ -41,6 +41,8 @@ dd if=$1 bs=1024 skip=17156 count=256 of=/run/initramfs/myscp.img fwscp /run/initramfs/myscp.img fi + # Disable LPI mode NV_SI_CPU_LPI_FREQ_DISABLE. + nvparm -s 0x1 -o 0x114090 rm -f $1 }