diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-09-28 20:28:40 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-10-02 14:03:16 +0000 |
commit | 614568ec5876372e0acb0120e5f397074b0115c8 (patch) | |
tree | 74c0b88296962b9be2bff3eef0ed86188b225380 /src/drivers/wifi/generic/wifi.h | |
parent | 89ca4788439ddcdbf60311cae6939211cf463a8c (diff) |
soc/amd/common/noncar/cpu: simplify get_reserved_phys_addr_bits
Simplify the code a bit by returning 0 early in the function when the
SYSCFG_MSR_SMEE bit isn't set.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Suggested-by: Jeremy Compostella <jeremy.compostella@intel.com>
Change-Id: I7536b82d98e55c51105448090d1206e1ed7f62d8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78176
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/wifi/generic/wifi.h')
0 files changed, 0 insertions, 0 deletions