Changeset 5 in svn
- Timestamp:
- Apr 29, 2015 10:02:45 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/newcon3bcm2_21bu/dta/src/bootloader7574/cir.c
r2 r5 211 211 else if (15 == id) { 212 212 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_CMD) = 0x130; /* must match, enable interrupt, CIR */ 213 #if 0 213 214 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK0) = ~0x041000FF; 214 215 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_PAT0 ) = 0x041000FF; … … 217 218 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK2) = ~0x00000410; 218 219 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_PAT2 ) = 0x00000410; 220 #else 221 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK0) = ~0x51AF30CF; 222 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_PAT0 ) = 0x51AF30CF; 223 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK1) = ~0x00FF0000; 224 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_PAT1 ) = 0x00FF0000; 225 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK2) = ~0x00000410; 226 *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_PAT2 ) = 0x00000410; 227 #endif 219 228 } 220 229 }
Note: See TracChangeset
for help on using the changeset viewer.
