memory.h 825 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright 2014 Texas Instruments, Inc.
  3. * Santosh Shilimkar <santosh.shilimkar@ti.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms and conditions of the GNU General Public License,
  7. * version 2, as published by the Free Software Foundation.
  8. */
  9. #ifndef __MEMORY_H
  10. #define __MEMORY_H
  11. #define MAX_PHYSMEM_BITS 36
  12. #define SECTION_SIZE_BITS 34
  13. #define KEYSTONE_LOW_PHYS_START 0x80000000ULL
  14. #define KEYSTONE_LOW_PHYS_SIZE 0x80000000ULL /* 2G */
  15. #define KEYSTONE_LOW_PHYS_END (KEYSTONE_LOW_PHYS_START + \
  16. KEYSTONE_LOW_PHYS_SIZE - 1)
  17. #define KEYSTONE_HIGH_PHYS_START 0x800000000ULL
  18. #define KEYSTONE_HIGH_PHYS_SIZE 0x400000000ULL /* 16G */
  19. #define KEYSTONE_HIGH_PHYS_END (KEYSTONE_HIGH_PHYS_START + \
  20. KEYSTONE_HIGH_PHYS_SIZE - 1)
  21. #endif /* __MEMORY_H */