prepare for interrupt support in the next few days
[my-code/arm.git] / betty / system.c
index 4204cdd..ef18b57 100644 (file)
@@ -72,11 +72,11 @@ void pin_init(void) {
        /*
         * pinsel 1
         *
-        * no special function yet!
+        * p0.30: eint3
         *
         */
 
-       PINSEL1=0x00000000;
+       PINSEL1=0x20000000;
 
        /*
         * pin select 2
@@ -116,6 +116,9 @@ void pin_init(void) {
 
 void mmap_init(u8 memtype) {
 
+       if(memtype==MEMTYPE_RESERVED)
+               return;
+
        MEMMAP=memtype;
 }