chipset_enable: Suppress laptop warning for AMD SPI100
Change-Id: I3f00e32cb182f7de366ff10725de50953e63a302
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.sourcearcade.org/c/flashprog/+/351
diff --git a/chipset_enable.c b/chipset_enable.c
index 9b50a05..5125bca 100644
--- a/chipset_enable.c
+++ b/chipset_enable.c
@@ -1503,6 +1503,8 @@
if (spirom_enable) {
/* If SPI ROM is memory mapped, nothing else can be */
internal_buses_supported &= ~BUS_NONSPI;
+ /* Suppress unknown laptop warning with non-SPI buses disabled. */
+ laptop_ok = true;
}
const uint32_t phys_spibar = spibar & ~0xff; /* 8 bits config/reserved */