io.h 746 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
  3. */
  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 version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. /*!
  10. * @file io.h
  11. * @brief This file contains some memory mapping macros.
  12. * @note There is no real ISA or PCI buses. But have to define these macros
  13. * for some drivers to compile.
  14. *
  15. * @ingroup System
  16. */
  17. #ifndef __ASM_ARCH_MXC_IO_H__
  18. #define __ASM_ARCH_MXC_IO_H__
  19. /*! Allow IO space to be anywhere in the memory */
  20. #define IO_SPACE_LIMIT 0xffffffff
  21. /*!
  22. * io address mapping macro
  23. */
  24. #define __io(a) ((void __iomem *)(a))
  25. #define __mem_pci(a) (a)
  26. #endif