memory.h 698 B

123456789101112131415161718192021222324252627
  1. /* linux/arch/arm/mach-exynos4/include/mach/memory.h
  2. *
  3. * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
  4. * http://www.samsung.com
  5. *
  6. * EXYNOS4 - Memory definitions
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef __ASM_ARCH_MEMORY_H
  13. #define __ASM_ARCH_MEMORY_H __FILE__
  14. #define PLAT_PHYS_OFFSET UL(0x40000000)
  15. #ifndef CONFIG_ARM_LPAE
  16. /* Maximum of 256MiB in one bank */
  17. #define MAX_PHYSMEM_BITS 32
  18. #define SECTION_SIZE_BITS 28
  19. #else
  20. #define MAX_PHYSMEM_BITS 36
  21. #define SECTION_SIZE_BITS 31
  22. #endif
  23. #endif /* __ASM_ARCH_MEMORY_H */