Changeset 1525 for trunk/programmer.h
- Timestamp:
- May 1, 2012 1:11:06 AM (13 months ago)
- File:
-
- 1 edited
-
trunk/programmer.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/programmer.h
r1524 r1525 70 70 PROGRAMMER_RAYER_SPI, 71 71 #endif 72 #if CONFIG_PONY_SPI == 1 73 PROGRAMMER_PONY_SPI, 74 #endif 72 75 #if CONFIG_NICINTEL == 1 73 76 PROGRAMMER_NICINTEL, … … 110 113 #if CONFIG_RAYER_SPI == 1 111 114 BITBANG_SPI_MASTER_RAYER, 115 #endif 116 #if CONFIG_PONY_SPI == 1 117 BITBANG_SPI_MASTER_PONY, 112 118 #endif 113 119 #if CONFIG_NICINTEL_SPI == 1 … … 431 437 #endif 432 438 439 /* pony_spi.c */ 440 #if CONFIG_PONY_SPI == 1 441 int pony_spi_init(void); 442 #endif 443 433 444 /* bitbang_spi.c */ 434 445 int bitbang_spi_init(const struct bitbang_spi_master *master); … … 493 504 SPI_CONTROLLER_DEDIPROG, 494 505 #endif 495 #if CONFIG_OGP_SPI == 1 || CONFIG_NICINTEL_SPI == 1 || CONFIG_RAYER_SPI == 1 || (CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__)))506 #if CONFIG_OGP_SPI == 1 || CONFIG_NICINTEL_SPI == 1 || CONFIG_RAYER_SPI == 1 || CONFIG_PONY_SPI == 1 || (CONFIG_INTERNAL == 1 && (defined(__i386__) || defined(__x86_64__))) 496 507 SPI_CONTROLLER_BITBANG, 497 508 #endif … … 637 648 int serialport_read(unsigned char *buf, unsigned int readcnt); 638 649 650 /* Serial port/pin mapping: 651 652 1 CD <- 653 2 RXD <- 654 3 TXD -> 655 4 DTR -> 656 5 GND -- 657 6 DSR <- 658 7 RTS -> 659 8 CTS <- 660 9 RI <- 661 */ 662 enum SP_PIN { 663 PIN_CD = 1, 664 PIN_RXD, 665 PIN_TXD, 666 PIN_DTR, 667 PIN_GND, 668 PIN_DSR, 669 PIN_RTS, 670 PIN_CTS, 671 PIN_RI, 672 }; 673 674 void sp_set_pin(enum SP_PIN pin, int val); 675 int sp_get_pin(enum SP_PIN pin); 676 639 677 #endif /* !__PROGRAMMER_H__ */
Note: See TracChangeset
for help on using the changeset viewer.
