Skip to content

Commit 15dfb39

Browse files
committed
meta-amd: Bios-update fix for boards with Lanai SPI Hold issue
Changes bios-update script to ignore flash errors for lanai SPI. Signed-off-by: Rajaganesh Rathinasabapathi <Rajaganesh.Rathinasabapathi@amd.com> Change-Id: I58ba04d4e47d12df1c6a84b21cf0f0c7c8abb9af
1 parent cf24598 commit 15dfb39

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • meta-amd/meta-common/recipes-phosphor/flash/phosphor-software-manager

meta-amd/meta-common/recipes-phosphor/flash/phosphor-software-manager/bios-update.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,13 @@ bind_spi_dev() {
4747
if [ $? -eq 0 ]; then
4848
echo "SPI Driver Bind Successful"
4949
else
50-
echo "SPI Driver Bind Failed.Run micron_v2.ini or micron_v3.ini using DediProg."
50+
echo "SPI Driver Bind Failed.Run micron_v2.ini or micron_v3.ini using DediProg."
5151
if [ "$1" == "$LANAI_SPI_DEV" ] ; then
5252
if [ "$safs_setting" == "false" ] ; then
5353
set_lanai_gpio_to_host
5454
fi
55+
echo "Please check Lanai flash SPI mode."
56+
return # do not exit script for lanai's case
5557
else
5658
set_gpio_to_host
5759
fi

0 commit comments

Comments
 (0)