Changeset 2053


Ignore:
Timestamp:
05/22/07 09:40:06 (6 years ago)
Author:
werner
Message:

unbusy-i2c.patch: updated for u-boot reorganization
bbt-scan-second.patch: updated for u-boot reorganization

Location:
trunk/src/target/u-boot/patches
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/u-boot/patches/unbusy-i2c.patch

    r1791 r2053  
    1 board/neo1973/neo1973.c: added logic to detect pending PMU interrupts 
    2 board/neo1973/neo1973.c (neo1973_new_second, neo1973_on_key_pressed): only poll 
    3   PMU if there is a pending interrupt 
    4 board/neo1973/pcf50606.c (pcf50606_initial_regs): cleared (unmasked) SECONDM in 
    5   INT1M 
     1board/neo1973/gta01/gta01.c: added logic to detect pending PMU interrupts 
     2board/neo1973/gta01/gta01.c (neo1973_new_second, neo1973_on_key_pressed): only 
     3  poll PMU if there is a pending interrupt 
     4board/neo1973/gta01/pcf50606.c (pcf50606_initial_regs): cleared (unmasked) 
     5  SECONDM in INT1M 
    66 
    77- Werner Almesberger <werner@openmoko.org> 
    88 
    9 Index: u-boot/board/neo1973/neo1973.c 
     9Index: u-boot/board/neo1973/gta01/gta01.c 
    1010=================================================================== 
    11 --- u-boot.orig/board/neo1973/neo1973.c 
    12 +++ u-boot/board/neo1973/neo1973.c 
    13 @@ -374,19 +374,64 @@ void neo1973_vibrator(int on) 
     11--- u-boot.orig/board/neo1973/gta01/gta01.c 
     12+++ u-boot/board/neo1973/gta01/gta01.c 
     13@@ -375,19 +375,60 @@ 
    1414 #endif 
    1515 } 
     
    2020+ 
    2121+#if defined(CONFIG_ARCH_GTA01B_v4) 
    22 +       /* 
    23 +        * @@@FIXME: Untested and probably doesn't work. We have to check for 
    24 +        * the presence of EINT9 instead. 
    25 +        */ 
    2622+       return !(gpio->GPGDAT & (1 << 1));      /* EINT9/GPG1 */ 
    2723+#else 
     
    7874                return 0; 
    7975        return 1; 
    80 Index: u-boot/board/neo1973/pcf50606.c 
     76Index: u-boot/board/neo1973/gta01/pcf50606.c 
    8177=================================================================== 
    82 --- u-boot.orig/board/neo1973/pcf50606.c 
    83 +++ u-boot/board/neo1973/pcf50606.c 
     78--- u-boot.orig/board/neo1973/gta01/pcf50606.c 
     79+++ u-boot/board/neo1973/gta01/pcf50606.c 
    8480@@ -6,7 +6,7 @@ 
    8581 const u_int8_t pcf50606_initial_regs[__NUM_PCF50606_REGS] = { 
Note: See TracChangeset for help on using the changeset viewer.