summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-07-02 17:25:05 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-14 20:28:08 +0200
commit96f20140348c76cfba7f32191bc700c9b5c607f2 (patch)
tree0e99d7a63582c6ae0cc726ccdedfecc38c7523e5
parented2f892a1ba7abd7db3c8a497e894f81072fbadd (diff)
downloadbarebox-96f20140348c76cfba7f32191bc700c9b5c607f2.tar.gz
barebox-96f20140348c76cfba7f32191bc700c9b5c607f2.tar.xz
x86: Kconfig: specify sizeof(dma_addr_t) == 8 for 64BIT
This shouldn't introduce any functional change, because we don't yet do any DMA on EFI. For now it suppresses warnings about mismatched pointer and integer sizes when compile testing. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 19009442a4..0e3e5d6187 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -25,6 +25,7 @@ menu "ARCH specific settings"
config 64BIT
def_bool y if X86_EFI
+ select ARCH_DMA_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.