commit | cd1bc7e51d02ca653643a9ddaa57271d208d1f8c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Jan 10 17:00:04 2025 -0700 |
committer | Tom Rini <trini@konsulko.com> | Wed Jan 22 15:58:03 2025 -0600 |
tree | 31eedd9263f965e459077ed0f4dae36621533133 | |
parent | e3a938e64412e1aab4a094dd28adb79b876438f0 [diff] |
cpu: Provide a way to get the physical-address size This concept exists on x86. Declare it as a generic function so that the value can be accessed by UPL. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/arch/x86/lib/bdinfo.c b/arch/x86/lib/bdinfo.c index 2a78f57..bd2cf0b 100644 --- a/arch/x86/lib/bdinfo.c +++ b/arch/x86/lib/bdinfo.c
@@ -5,6 +5,7 @@ * Copyright 2021 Google LLC */ +#include <cpu.h> #include <efi.h> #include <init.h> #include <asm/cpu.h>