sandbox: specify sizeof(dma_addr_t) == sizeof(phys_addr_t) == 8 on 64BIT
sizeof(dma_addr_t) == 8 shouldn't introduce any functional change, because
we can't have DMA on sandbox. For now it suppresses benign warnings about
mismatched pointer and integer sizes when some headers are included.

sizeof(phys_addr_t) == 8 was already the case on systems with
__x86_64__. As CONFIG_64BIT now is set according to the bitness
of the compiler, we can migrate this fully to Kconfig.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 96f2014 commit e4f2c9e565b492ac4e008c3f72795e9f7e821662
@Ahmad Fatoum Ahmad Fatoum authored on 2 Jul 2020
Sascha Hauer committed on 14 Jul 2020
Showing 3 changed files
View
arch/sandbox/Kconfig
View
arch/sandbox/include/asm/elf.h
View
arch/sandbox/include/asm/types.h