Changeset 5 in svn


Ignore:
Timestamp:
Apr 29, 2015 10:02:45 AM (11 years ago)
Author:
megakiss
Message:

티브로드 리모콘 적용

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/newcon3bcm2_21bu/dta/src/bootloader7574/cir.c

    r2 r5  
    211211                else if (15 == id) { 
    212212                        *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_CMD)               = 0x130;        /* must match, enable interrupt, CIR */ 
     213#if 0 
    213214                        *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK0)         = ~0x041000FF; 
    214215                        *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_PAT0 )         = 0x041000FF; 
     
    217218                        *(volatile unsigned long *)PHYS_TO_K1(BCHP_PHYSICAL_OFFSET+BCHP_KBD1_KBD_MASK2)         = ~0x00000410; 
    218219                        *(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 
    219228                } 
    220229        } 
Note: See TracChangeset for help on using the changeset viewer.