diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 14:06:39 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 14:12:15 +0100 |
commit | 88cdf9db4b3186253606422f2fad43429c4cd94f (patch) | |
tree | 96af8b69ee44521a79b752e590578ab8837d2714 /arch/arm/mach-s3c6400/include/mach | |
parent | 778edbe124a99ef9825ae2341eb855f8de49e258 (diff) |
[ARM] S3C64XX: Initial arch directory
Add the initial PLAT_S3C64XX support files
and directory structure.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6400/include/mach')
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/memory.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/memory.h b/arch/arm/mach-s3c6400/include/mach/memory.h new file mode 100644 index 00000000000..38c381132f2 --- /dev/null +++ b/arch/arm/mach-s3c6400/include/mach/memory.h @@ -0,0 +1,21 @@ +/* arch/arm/mach-s3c6400/include/mach/memory.h + * + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks <ben@simtec.co.uk> + * http://armlinux.simtec.co.uk/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. +*/ + +#ifndef __ASM_ARCH_MEMORY_H +#define __ASM_ARCH_MEMORY_H + +#define PHYS_OFFSET UL(0x50000000) + +#define __virt_to_bus(x) __virt_to_phys(x) +#define __bus_to_virt(x) __phys_to_virt(x) + +#endif |