VCxK.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * (C) Copyright 2005
  3. * BuS Elektronik GmbH & Co.KG <esw@bus-elektonik.de>
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. * MA 02111-1307 USA
  22. */
  23. #ifndef __VCXK_H_
  24. #define __VCXK_H_
  25. extern int init_vcxk(void);
  26. void vcxk_loadimage(ulong source);
  27. #define VIDEO_ACKNOWLEDGE_PORT MCFGPTB_GPTPORT
  28. #define VIDEO_ACKNOWLEDGE_DDR MCFGPTB_GPTDDR
  29. #define VIDEO_ACKNOWLEDGE_PIN 0x0001
  30. #define VIDEO_ENABLE_PORT MCFGPTB_GPTPORT
  31. #define VIDEO_ENABLE_DDR MCFGPTB_GPTDDR
  32. #define VIDEO_ENABLE_PIN 0x0002
  33. #define VIDEO_REQUEST_PORT MCFGPTB_GPTPORT
  34. #define VIDEO_REQUEST_DDR MCFGPTB_GPTDDR
  35. #define VIDEO_REQUEST_PIN 0x0004
  36. #define VIDEO_Invert_CFG MCFGPIO_PEPAR
  37. #define VIDEO_Invert_IO MCFGPIO_PEPAR_PEPA2
  38. #define VIDEO_INVERT_PORT MCFGPIO_PORTE
  39. #define VIDEO_INVERT_DDR MCFGPIO_DDRE
  40. #define VIDEO_INVERT_PIN MCFGPIO_PORT2
  41. #endif