mm-clps7500.c
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. /*
  2.  *  linux/arch/arm/mm/mm-cl7500.c
  3.  *
  4.  *  Copyright (C) 1998 Russell King
  5.  *  Copyright (C) 1999 Nexus Electronics Ltd
  6.  *
  7.  * Extra MM routines for CL7500 architecture
  8.  */
  9. #include <linux/types.h>
  10. #include <linux/init.h>
  11. #include <asm/hardware.h>
  12. #include <asm/page.h>
  13. #include <asm/proc/domain.h>
  14. #include <asm/setup.h>
  15. #include <asm/mach/map.h>
  16. static struct map_desc cl7500_io_desc[] __initdata = {
  17. { IO_BASE, IO_START, IO_SIZE  , DOMAIN_IO, 0, 1 }, /* IO space */
  18. { ISA_BASE, ISA_START, ISA_SIZE , DOMAIN_IO, 0, 1 }, /* ISA space */
  19. { FLASH_BASE, FLASH_START, FLASH_SIZE, DOMAIN_IO, 0, 1 }, /* Flash */
  20. { LED_BASE, LED_START, LED_SIZE , DOMAIN_IO, 0, 1 }, /* LED */
  21. LAST_DESC
  22. };
  23. void __init clps7500_map_io(void)
  24. {
  25. iotable_init(cl7500_io_desc);
  26. }