forked from ~ljy/RK356X_SDK_RELEASE

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