summaryrefslogtreecommitdiff
path: root/meta-ampere/meta-jade
diff options
context:
space:
mode:
authorThang Q. Nguyen <thang@os.amperecomputing.com>2022-06-27 08:24:25 +0300
committerThang Q. Nguyen <thang@os.amperecomputing.com>2022-06-27 08:24:25 +0300
commit9b2186aed66301c1ef80ebc177fdebdd2c1cb9df (patch)
treeaee9992e8b769af2f6eed3ea2a16bd8f6d1a65bd /meta-ampere/meta-jade
parent1efd394c052073808b55098ca0f941d77c3cd184 (diff)
downloadopenbmc-9b2186aed66301c1ef80ebc177fdebdd2c1cb9df.tar.xz
meta-ampere: mtjade: fix incorrect bind for bios update
With new SPI driver, the path to bind SMC SPI-NOR is changed. Update the path for correctness. Tested: 1. Flash BIOS firmware via Redfish succesfully Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com> Change-Id: Ia9cf47f059ef928ec7049a535c668689f3df5cab
Diffstat (limited to 'meta-ampere/meta-jade')
-rwxr-xr-xmeta-ampere/meta-jade/recipes-ampere/platform/ampere-utils/ampere_flash_bios.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-ampere/meta-jade/recipes-ampere/platform/ampere-utils/ampere_flash_bios.sh b/meta-ampere/meta-jade/recipes-ampere/platform/ampere-utils/ampere_flash_bios.sh
index b13e4b50a6..2824508bd7 100755
--- a/meta-ampere/meta-jade/recipes-ampere/platform/ampere-utils/ampere_flash_bios.sh
+++ b/meta-ampere/meta-jade/recipes-ampere/platform/ampere-utils/ampere_flash_bios.sh
@@ -21,7 +21,7 @@ do_flash () {
then
# If the PNOR partition is not available, then bind again driver
echo "--- Bind the ASpeed SMC driver"
- echo 1e630000.spi > /sys/bus/platform/drivers/aspeed-smc/bind
+ echo 1e630000.spi > /sys/bus/platform/drivers/spi-aspeed-smc/bind
sleep 2
HOST_MTD=$(< /proc/mtd grep "pnor-uefi" | sed -n 's/^\(.*\):.*/\1/p')