From 82125db510b46a0bae1cfe6df769bf671f446790 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 30 Jul 2011 22:29:20 +0200 Subject: at91lib: go throguh LowlevelInit even after DFU loader this makes sure the PLL is set up the way at91lib expects it --- at91lib/boards/simtrace/board.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'at91lib/boards/simtrace/board.h') diff --git a/at91lib/boards/simtrace/board.h b/at91lib/boards/simtrace/board.h index 22ca0ea..8e8290d 100644 --- a/at91lib/boards/simtrace/board.h +++ b/at91lib/boards/simtrace/board.h @@ -232,7 +232,8 @@ /// - PINS_ISO7816 /// Smartcard detection pin -#define PIN_SMARTCARD_CONNECT {1 << 8, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_INPUT, PIO_DEFAULT} +#define PIN_SMARTCARD_CONNECT {1 << 8, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_INPUT, \ + PIO_PULLUP|PIO_DEGLITCH} /// PIN used for reset the smartcard #define PIN_ISO7816_RSTMC {1 << 7, AT91C_BASE_PIOA, AT91C_ID_PIOA, PIO_OUTPUT_0, PIO_DEFAULT} /// Pins used for connect the smartcard -- cgit v1.2.3