[PATCH 6/6] x86: make phys_addr_t 64-bit on x86_64
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Mar 12 23:45:57 PDT 2025
sizeof(phys_addr_t) depends on whether CONFIG_PHYS_ADDR_T_64BIT is
enabled, which so far was selected for all 64-bit platforms except
x86_64.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/x86/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cea8e25b81f0..b453890f022b 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -28,6 +28,7 @@ menu "ARCH specific settings"
config 64BIT
def_bool y if X86_EFI
select ARCH_DMA_ADDR_T_64BIT
+ select PHYS_ADDR_T_64BIT
help
Say yes to build a 64-bit binary - formerly known as x86_64
Say no to build a 32-bit binary - formerly known as i386.
--
2.39.5
More information about the barebox
mailing list