memory.h 633 B

1234567891011121314151617181920212223
  1. /* arch/arm/mach-s3c2400/include/mach/memory.h
  2. * from arch/arm/mach-rpc/include/mach/memory.h
  3. *
  4. * Copyright 2007 Simtec Electronics
  5. * http://armlinux.simtec.co.uk/
  6. * Ben Dooks <ben@simtec.co.uk>
  7. *
  8. * Copyright (C) 1996,1997,1998 Russell King.
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #ifndef __ASM_ARCH_MEMORY_H
  15. #define __ASM_ARCH_MEMORY_H
  16. #define PHYS_OFFSET UL(0x0C000000)
  17. #define __virt_to_bus(x) __virt_to_phys(x)
  18. #define __bus_to_virt(x) __phys_to_virt(x)
  19. #endif