1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * arch/arm/mach-omap1/include/mach/memory.h 4 */ 5 6 #ifndef __ASM_ARCH_MEMORY_H 7 #define __ASM_ARCH_MEMORY_H 8 9 /* REVISIT: omap1 legacy drivers still rely on this */ 10 #include <mach/soc.h> 11 12 /* 13 * Bus address is physical address, except for OMAP-1510 Local Bus. 14 * OMAP-1510 bus address is translated into a Local Bus address if the 15 * OMAP bus type is lbus. We do the address translation based on the 16 * device overriding the defaults used in the dma-mapping API. 17 */ 18 19 /* 20 * OMAP-1510 Local Bus address offset 21 */ 22 #define OMAP1510_LB_OFFSET UL(0x30000000) 23 24 #endif 25