diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/soc/amd/common/def_callouts.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/soc/amd/common/def_callouts.c b/src/soc/amd/common/def_callouts.c index fe0d5497e1..aa35e345b5 100644 --- a/src/soc/amd/common/def_callouts.c +++ b/src/soc/amd/common/def_callouts.c @@ -33,8 +33,12 @@ AGESA_STATUS GetBiosCallout(UINT32 Func, UINTN Data, VOID *ConfigPtr) if (BiosCallouts[i].CalloutName == Func) break; } - if (i >= BiosCalloutsLen) + + if (i >= BiosCalloutsLen) { + printk(BIOS_ERR, "ERROR: AGESA Callout Not Supported: 0x%x", + (u32)Func); return AGESA_UNSUPPORTED; + } return BiosCallouts[i].CalloutPtr(Func, Data, ConfigPtr); } |