summaryrefslogtreecommitdiffstats
path: root/sys/boot/arm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2007-03-28 22:38:01 +0000
committerimp <imp@FreeBSD.org>2007-03-28 22:38:01 +0000
commitfeacfb6fad7a2822ad94c01ac0ad86ac3d17786d (patch)
treea8bcbe17d027ba891621a49afa9ca76767c5aae3 /sys/boot/arm
parenta57f06c8fd151f8e5b9b9507f3ef871ebd901e65 (diff)
downloadFreeBSD-src-feacfb6fad7a2822ad94c01ac0ad86ac3d17786d.zip
FreeBSD-src-feacfb6fad7a2822ad94c01ac0ad86ac3d17786d.tar.gz
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.
Diffstat (limited to 'sys/boot/arm')
-rw-r--r--sys/boot/arm/at91/libat91/spi_flash.c3
1 files changed, 0 insertions, 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);
OpenPOWER on IntegriCloud