blackfin.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. * File: include/asm-blackfin/mach-bf561/blackfin.h
  3. * Based on:
  4. * Author:
  5. *
  6. * Created:
  7. * Description:
  8. *
  9. * Rev:
  10. *
  11. * Modified:
  12. *
  13. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  14. *
  15. * This program is free software; you can redistribute it and/or modify
  16. * it under the terms of the GNU General Public License as published by
  17. * the Free Software Foundation; either version 2, or (at your option)
  18. * any later version.
  19. *
  20. * This program is distributed in the hope that it will be useful,
  21. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. * GNU General Public License for more details.
  24. *
  25. * You should have received a copy of the GNU General Public License
  26. * along with this program; see the file COPYING.
  27. * If not, write to the Free Software Foundation,
  28. * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  29. */
  30. #ifndef _MACH_BLACKFIN_H_
  31. #define _MACH_BLACKFIN_H_
  32. #define BF561_FAMILY
  33. #include "bf561.h"
  34. #include "mem_map.h"
  35. #include "defBF561.h"
  36. #include "anomaly.h"
  37. #if !defined(__ASSEMBLY__)
  38. #include "cdefBF561.h"
  39. #endif
  40. #define bfin_read_FIO_FLAG_D() bfin_read_FIO0_FLAG_D()
  41. #define bfin_write_FIO_FLAG_D(val) bfin_write_FIO0_FLAG_D(val)
  42. #define bfin_read_FIO_DIR() bfin_read_FIO0_DIR()
  43. #define bfin_write_FIO_DIR(val) bfin_write_FIO0_DIR(val)
  44. #define bfin_read_FIO_INEN() bfin_read_FIO0_INEN()
  45. #define bfin_write_FIO_INEN(val) bfin_write_FIO0_INEN(val)
  46. #endif /* _MACH_BLACKFIN_H_ */