map.h 394 B

123456789101112131415161718
  1. /*
  2. * memory & I/O static mapping definitions for CSR SiRFprimaII
  3. *
  4. * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
  5. *
  6. * Licensed under GPLv2 or later.
  7. */
  8. #ifndef __MACH_PRIMA2_MAP_H__
  9. #define __MACH_PRIMA2_MAP_H__
  10. #include <linux/const.h>
  11. #define SIRFSOC_VA_BASE _AC(0xFEC00000, UL)
  12. #define SIRFSOC_VA(x) (SIRFSOC_VA_BASE + ((x) & 0x00FFF000))
  13. #endif