blob: 7d208a71b17270d24407edd1f8fae11be8da027e [file] [log] [blame]
Sandeep Patilddbf5652008-10-21 14:06:23 +01001/* linux/arch/arm/mach-s3c24a0/include/mach/memory.h
2 * from linux/include/asm-arm/arch-rpc/memory.h
3 *
4 * Copyright (C) 1996,1997,1998 Russell King.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9*/
10
11#ifndef __ASM_ARCH_24A0_MEMORY_H
12#define __ASM_ARCH_24A0_MEMORY_H __FILE__
13
Russell Kingf4117ac2011-01-04 18:07:14 +000014#define PLAT_PHYS_OFFSET UL(0x10000000)
Sandeep Patilddbf5652008-10-21 14:06:23 +010015
16#define __virt_to_bus(x) __virt_to_phys(x)
17#define __bus_to_virt(x) __phys_to_virt(x)
Russell Kingc7baab52009-12-12 14:53:08 +000018#define __pfn_to_bus(x) __pfn_to_phys(x)
19#define __bus_to_pfn(x) __phys_to_pfn(x)
Sandeep Patilddbf5652008-10-21 14:06:23 +010020
21#endif