hardware.h 551 B

1234567891011121314151617181920212223
  1. /*
  2. * arch/arm/plat-spear/include/plat/hardware.h
  3. *
  4. * Hardware definitions for SPEAr
  5. *
  6. * Copyright (C) 2010 ST Microelectronics
  7. * Viresh Kumar<viresh.kumar@st.com>
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #ifndef __PLAT_HARDWARE_H
  14. #define __PLAT_HARDWARE_H
  15. #ifndef __ASSEMBLY__
  16. #define IOMEM(x) ((void __iomem __force *)(x))
  17. #else
  18. #define IOMEM(x) (x)
  19. #endif
  20. #endif /* __PLAT_HARDWARE_H */