diff --git a/arch/arm/src/imx6/imx_timerisr.c b/arch/arm/src/imx6/imx_timerisr.c index 4b01fae8d1e..f75cecde389 100644 --- a/arch/arm/src/imx6/imx_timerisr.c +++ b/arch/arm/src/imx6/imx_timerisr.c @@ -165,7 +165,7 @@ void up_timer_initialize(void) /* Disable GPT by setting EN=0 in GPT_CR register */ - cr = getreg32(IMX_GPT_CR); + cr = getreg32(IMX_GPT_CR); cr &= ~GPT_CR_EN; putreg32(cr, IMX_GPT_CR); @@ -221,7 +221,7 @@ void up_timer_initialize(void) */ cr &= ~GPT_CR_FFR; - putreg32(cr | GPT_CR_SWR, IMX_GPT_CR); + putreg32(cr, IMX_GPT_CR); /* Set ENMOD=1 in GPT_CR register, to bring GPT counter to 0x00000000. If * the ENMOD bit is 1, then the Main Counter and Prescaler Counter values diff --git a/configs/sabre-6quad/README.txt b/configs/sabre-6quad/README.txt index 19afbcd032e..2cc5bc5dee9 100644 --- a/configs/sabre-6quad/README.txt +++ b/configs/sabre-6quad/README.txt @@ -53,7 +53,10 @@ With this change, the NSH serial console works: NuttShell (NSH) nsh> -But there are still no timer interrupts. +But there are still no timer interrupts. LEDs do not appear to be working. + +2016-05-17: Timer interrupts now work. This turned out to be just a minor +bit setting error in the timer configuration. Platform Features =================