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