summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/amdfwtool/amdfwtool.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c
index b10315ebf8..ee360f0df4 100644
--- a/util/amdfwtool/amdfwtool.c
+++ b/util/amdfwtool/amdfwtool.c
@@ -1586,11 +1586,13 @@ int main(int argc, char **argv)
amd_romsig->xhci_entry = 0;
if (soc_id != PLATFORM_UNKNOWN) {
- retval = set_efs_table(soc_id, amd_romsig, efs_spi_readmode,
- efs_spi_speed, efs_spi_micron_flag);
- if (retval) {
- fprintf(stderr, "ERROR: Failed to initialize EFS table!\n");
- return retval;
+ if (soc_id != PLATFORM_STONEYRIDGE) {
+ retval = set_efs_table(soc_id, amd_romsig, efs_spi_readmode,
+ efs_spi_speed, efs_spi_micron_flag);
+ if (retval) {
+ fprintf(stderr, "ERROR: Failed to initialize EFS table!\n");
+ return retval;
+ }
}
} else {
fprintf(stderr, "WARNING: No SOC name specified.\n");