[PATCH 1/3] x86: Kconfig: specify sizeof(dma_addr_t) == 8 for 64BIT

Sascha Hauer s.hauer at pengutronix.de
Sun Jul 5 10:09:31 EDT 2020


On Thu, Jul 02, 2020 at 05:25:05PM +0200, Ahmad Fatoum wrote:
> 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 at pengutronix.de>
> ---
>  arch/x86/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 19009442a4d7..0e3e5d61872a 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.
> -- 
> 2.27.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list