Permalink
Browse files

[mahatma] do not modify clock option register

This routine only initialises interrupt vectors, it should not
mess with the CMU.

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
1 parent 8f4b192 commit 81f8f51676c40f094bc606608bab41883dd95513 @hxw hxw committed Mar 29, 2010
Showing with 0 additions and 5 deletions.
  1. +0 −5 samo-lib/mahatma/traps.c
View
@@ -283,11 +283,6 @@ void traps_init(void)
{
(void)Interrupt_disable();
- /* WAKEUP=1 */
- REG_CMU_PROTECT = CMU_PROTECT_OFF;
- REG_CMU_OPT |= 0x1;
- REG_CMU_PROTECT = CMU_PROTECT_ON;
-
/* relocate the trap table */
asm("ld.w %%ttbr, %0" :: "r"(0x84000));
Interrupt_enable(true);

0 comments on commit 81f8f51

Please sign in to comment.