home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / arch / arm / mach-s3c2410 / include / mach / osiris-cpld.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  824 b   |  31 lines

  1. /* arch/arm/mach-s3c2410/include/mach/osiris-cpld.h
  2.  *
  3.  * Copyright 2005 Simtec Electronics
  4.  *    http://www.simtec.co.uk/products/
  5.  *    Ben Dooks <ben@simtec.co.uk>
  6.  *
  7.  * OSIRIS - CPLD control constants
  8.  *
  9.  * This program is free software; you can redistribute it and/or modify
  10.  * it under the terms of the GNU General Public License version 2 as
  11.  * published by the Free Software Foundation.
  12. */
  13.  
  14. #ifndef __ASM_ARCH_OSIRISCPLD_H
  15. #define __ASM_ARCH_OSIRISCPLD_H
  16.  
  17. /* CTRL0 - NAND WP control */
  18.  
  19. #define OSIRIS_CTRL0_NANDSEL        (0x3)
  20. #define OSIRIS_CTRL0_BOOT_INT        (1<<3)
  21. #define OSIRIS_CTRL0_PCMCIA        (1<<4)
  22. #define OSIRIS_CTRL0_FIX8        (1<<5)
  23. #define OSIRIS_CTRL0_PCMCIA_nWAIT    (1<<6)
  24. #define OSIRIS_CTRL0_PCMCIA_nIOIS16    (1<<7)
  25.  
  26. #define OSIRIS_CTRL1_FIX8        (1<<0)
  27.  
  28. #define OSIRIS_ID_REVMASK        (0x7)
  29.  
  30. #endif /* __ASM_ARCH_OSIRISCPLD_H */
  31.