cpu: Provide a way to get the physical-address size
authorSimon Glass <sjg@chromium.org>
Sat, 11 Jan 2025 00:00:04 +0000 (17:00 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 22 Jan 2025 21:58:03 +0000 (15:58 -0600)
commit8b89d901465bd00358c761f0b64e05efed8a333a
tree31eedd9263f965e459077ed0f4dae36621533133
parent7ba7c1dd86cf212c7d489dbf0a07301d1a3b4d2c
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>
arch/x86/include/asm/cpu.h
arch/x86/lib/bdinfo.c
include/cpu.h