memory.h 577 B

12345678910111213141516171819
  1. /*
  2. * Copyright (C) 2001-2006 Storlink, Corp.
  3. * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2 of the License, or
  8. * (at your option) any later version.
  9. */
  10. #ifndef __MACH_MEMORY_H
  11. #define __MACH_MEMORY_H
  12. #ifdef CONFIG_GEMINI_MEM_SWAP
  13. # define PHYS_OFFSET UL(0x00000000)
  14. #else
  15. # define PHYS_OFFSET UL(0x10000000)
  16. #endif
  17. #endif /* __MACH_MEMORY_H */