diff options
author | imp <imp@FreeBSD.org> | 2008-11-25 19:05:46 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-11-25 19:05:46 +0000 |
commit | e8a7024ad98e5a83d587ffbf6f5849d40d809502 (patch) | |
tree | 73f30747923b1fc18ae278675332e75e1a2a6bfb /sys/arm/at91/board_kb920x.c | |
parent | 844f052f71e670d4e9dcc6d2d218203fd9c25055 (diff) | |
download | FreeBSD-src-e8a7024ad98e5a83d587ffbf6f5849d40d809502.zip FreeBSD-src-e8a7024ad98e5a83d587ffbf6f5849d40d809502.tar.gz |
Convert BWCT and HL200 over to new board mechanism as well. The
TSC4370 config file wasn't committed to this tree, so I don't know if
my changes will work on it or not.
Diffstat (limited to 'sys/arm/at91/board_kb920x.c')
-rw-r--r-- | sys/arm/at91/board_kb920x.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/arm/at91/board_kb920x.c b/sys/arm/at91/board_kb920x.c index a8104fc..f1a2439 100644 --- a/sys/arm/at91/board_kb920x.c +++ b/sys/arm/at91/board_kb920x.c @@ -24,8 +24,6 @@ * SUCH DAMAGE. */ -#include "opt_at91.h" - #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); #include <sys/param.h> @@ -49,7 +47,6 @@ board_init(void) * Since they are input pins, I think that this is the right thing * to do. */ - /* PIOA's A periph: Turn USART 0 and 2's TX/RX pins */ at91_pio_use_periph_a(AT91RM92_PIOA_BASE, AT91C_PA18_RXD0 | AT91C_PA22_RXD2, 0); @@ -58,24 +55,9 @@ board_init(void) /* PIOA's B periph: Turn USART 3's TX/RX pins */ at91_pio_use_periph_b(AT91RM92_PIOA_BASE, AT91C_PA6_RXD3, 0); at91_pio_use_periph_b(AT91RM92_PIOA_BASE, AT91C_PA5_TXD3, 1); -#ifdef AT91_TSC - /* We're using TC0's A1 and A2 input */ - at91_pio_use_periph_b(AT91RM92_PIOA_BASE, - AT91C_PA19_TIOA1 | AT91C_PA21_TIOA2, 0); -#endif /* PIOB's A periph: Turn USART 1's TX/RX pins */ at91_pio_use_periph_a(AT91RM92_PIOB_BASE, AT91C_PB21_RXD1, 0); at91_pio_use_periph_a(AT91RM92_PIOB_BASE, AT91C_PB20_TXD1, 1); - /* Pin assignment */ -#ifdef AT91_TSC - /* Assert PA24 low -- talk to rubidium */ - at91_pio_use_gpio(AT91RM92_PIOA_BASE, AT91C_PIO_PA24); - at91_pio_gpio_output(AT91RM92_PIOA_BASE, AT91C_PIO_PA24, 0); - at91_pio_gpio_clear(AT91RM92_PIOA_BASE, AT91C_PIO_PA24); - at91_pio_use_gpio(AT91RM92_PIOB_BASE, - AT91C_PIO_PB16 | AT91C_PIO_PB17 | AT91C_PIO_PB18 | AT91C_PIO_PB19); -#endif - return (at91_ramsize()); } |