Changeset 2053
- Timestamp:
- 05/22/07 09:40:06 (6 years ago)
- Location:
- trunk/src/target/u-boot/patches
- Files:
-
- 1 added
- 1 edited
-
bbt-scan-second.patch (added)
-
unbusy-i2c.patch (modified) (3 diffs)
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 interrupts2 board/neo1973/ neo1973.c (neo1973_new_second, neo1973_on_key_pressed): only poll3 PMU if there is a pending interrupt4 board/neo1973/ pcf50606.c (pcf50606_initial_regs): cleared (unmasked) SECONDM in5 INT1M1 board/neo1973/gta01/gta01.c: added logic to detect pending PMU interrupts 2 board/neo1973/gta01/gta01.c (neo1973_new_second, neo1973_on_key_pressed): only 3 poll PMU if there is a pending interrupt 4 board/neo1973/gta01/pcf50606.c (pcf50606_initial_regs): cleared (unmasked) 5 SECONDM in INT1M 6 6 7 7 - Werner Almesberger <werner@openmoko.org> 8 8 9 Index: u-boot/board/neo1973/ neo1973.c9 Index: u-boot/board/neo1973/gta01/gta01.c 10 10 =================================================================== 11 --- u-boot.orig/board/neo1973/ neo1973.c12 +++ u-boot/board/neo1973/ neo1973.c13 @@ -37 4,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 @@ 14 14 #endif 15 15 } … … 20 20 + 21 21 +#if defined(CONFIG_ARCH_GTA01B_v4) 22 + /*23 + * @@@FIXME: Untested and probably doesn't work. We have to check for24 + * the presence of EINT9 instead.25 + */26 22 + return !(gpio->GPGDAT & (1 << 1)); /* EINT9/GPG1 */ 27 23 +#else … … 78 74 return 0; 79 75 return 1; 80 Index: u-boot/board/neo1973/ pcf50606.c76 Index: u-boot/board/neo1973/gta01/pcf50606.c 81 77 =================================================================== 82 --- u-boot.orig/board/neo1973/ pcf50606.c83 +++ u-boot/board/neo1973/ pcf50606.c78 --- u-boot.orig/board/neo1973/gta01/pcf50606.c 79 +++ u-boot/board/neo1973/gta01/pcf50606.c 84 80 @@ -6,7 +6,7 @@ 85 81 const u_int8_t pcf50606_initial_regs[__NUM_PCF50606_REGS] = {
Note: See TracChangeset
for help on using the changeset viewer.
