aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordave2007-03-01 13:36:14 +0000
committerdave2007-03-01 13:36:14 +0000
commit97063d096a81cb746b0c51fcce6811375a652ff1 (patch)
treed56d26aad40b9449018a070be1ddb4c5a16f54c4
parent8638fc9bd8446b7d8c9fa159a4a8eb6c87b6aab5 (diff)
Correct more comments.
-rw-r--r--estorm/crt0/crt0_c.c12
-rw-r--r--estorm/sys_timer.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/estorm/crt0/crt0_c.c b/estorm/crt0/crt0_c.c
index e22900e..06c1f07 100644
--- a/estorm/crt0/crt0_c.c
+++ b/estorm/crt0/crt0_c.c
@@ -81,9 +81,9 @@ static inline void init_clocks()
static inline void init_aic() {
int i;
- /* Do some garbage collection on the AIC. All these are to protect
- * against the case where we are coming from a warm boot. These
- * values define the modes in which the AIC should be booting up.
+ /* Do some cleanup on the AIC. All these are to protect against the
+ * case where we are coming from a warm boot. These values define
+ * the modes in which the AIC should be booting up.
*
* - Disable all peripheral interrupt lines.
* - Turn off Fast Forcing for all peripheral interrupt lines.
@@ -124,9 +124,9 @@ void nxt_low_level_init() {
* settings are valid for writing everywhere but the non-volatile bits
* (lock, security, general-purpose NVM).
*
- * These values will yield valid timing only after the master clock
- * is configured to run at 48MHz, ie. after the call to
- * init_clocks. Do NOT write to flash before then!
+ * These values are valid only after the master clock is configured
+ * to run at 48MHz, ie. after the call to init_clocks. Do NOT write
+ * to flash before then!
*/
*AT91C_MC_FMR = AT91C_MC_FWS_1FWS | (0x48 << 16);
diff --git a/estorm/sys_timer.c b/estorm/sys_timer.c
index 4938556..90236d7 100644
--- a/estorm/sys_timer.c
+++ b/estorm/sys_timer.c
@@ -5,7 +5,7 @@
/* The board is clocked at 48MHz */
#define CLOCK_FREQ 48000000
-/* The Periodic Interval Timer has a frequency of CLK/16. */
+/* The Periodic Interval Timer runs at 3MHz. */
#define PIT_FREQ (CLOCK_FREQ/16)
void sys_timer_isr(void) {