From feacfb6fad7a2822ad94c01ac0ad86ac3d17786d Mon Sep 17 00:00:00 2001 From: imp Date: Wed, 28 Mar 2007 22:38:01 +0000 Subject: Since we're about to set ST_RTMR to 1 to increase the accuracy of the CRTR register to be 1/32768th of a second in init, we don't need to do it here. --- sys/boot/arm/at91/libat91/spi_flash.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/boot/arm/at91/libat91/spi_flash.c b/sys/boot/arm/at91/libat91/spi_flash.c index ab5f01e..a35e798 100644 --- a/sys/boot/arm/at91/libat91/spi_flash.c +++ b/sys/boot/arm/at91/libat91/spi_flash.c @@ -256,9 +256,6 @@ SPI_InitFlash(void) value = pSPI->SPI_RDR; value = pSPI->SPI_SR; - // Increment real time counter every SLCK - AT91C_BASE_ST->ST_RTMR = 1; - #ifdef BOOT_BWCT if (((value = GetFlashStatus()) & 0xFC) != 0xB4) printf(" Bad SPI status: 0x%x\n", value); -- cgit v1.1