r960 - trunk/src/target/u-boot/patches
laforge at sita.openmoko.org
laforge at sita.openmoko.org
Mon Feb 12 10:14:52 CET 2007
Author: laforge
Date: 2007-02-12 10:14:50 +0100 (Mon, 12 Feb 2007)
New Revision: 960
Modified:
trunk/src/target/u-boot/patches/uboot-neo1973-poweroff.patch
Log:
make register list a bit shorter
Modified: trunk/src/target/u-boot/patches/uboot-neo1973-poweroff.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-neo1973-poweroff.patch 2007-02-12 01:29:50 UTC (rev 959)
+++ trunk/src/target/u-boot/patches/uboot-neo1973-poweroff.patch 2007-02-12 09:14:50 UTC (rev 960)
@@ -6,7 +6,7 @@
Index: u-boot/board/neo1973/Makefile
===================================================================
--- u-boot.orig/board/neo1973/Makefile 2007-02-10 19:33:14.000000000 +0100
-+++ u-boot/board/neo1973/Makefile 2007-02-10 20:22:57.000000000 +0100
++++ u-boot/board/neo1973/Makefile 2007-02-11 17:38:13.000000000 +0100
@@ -25,7 +25,7 @@
LIB = lib$(BOARD).a
@@ -172,7 +172,7 @@
Index: u-boot/board/neo1973/neo1973.c
===================================================================
--- u-boot.orig/board/neo1973/neo1973.c 2007-02-10 19:33:14.000000000 +0100
-+++ u-boot/board/neo1973/neo1973.c 2007-02-10 21:45:30.000000000 +0100
++++ u-boot/board/neo1973/neo1973.c 2007-02-11 17:38:35.000000000 +0100
@@ -34,8 +34,14 @@
#include <s3c2410.h>
#include <i2c.h>
@@ -644,8 +644,8 @@
Index: u-boot/board/neo1973/pcf50606.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
-+++ u-boot/board/neo1973/pcf50606.c 2007-02-10 22:55:32.000000000 +0100
-@@ -0,0 +1,193 @@
++++ u-boot/board/neo1973/pcf50606.c 2007-02-10 23:00:36.000000000 +0100
+@@ -0,0 +1,168 @@
+
+#include <common.h>
+#include <i2c.h>
@@ -672,45 +672,20 @@
+ pcf50606_reg_write(reg, (val & mask) | (tmp & ~mask));
+}
+
-+static const u_int8_t regs_valid[] = {
-+ PCF50606_REG_OOCS,
-+ PCF50606_REG_INT1M,
-+ PCF50606_REG_INT2M,
-+ PCF50606_REG_INT3M,
-+ PCF50606_REG_OOCC1,
-+ PCF50606_REG_OOCC2,
-+ PCF50606_REG_PSSC,
-+ PCF50606_REG_PWROKM,
-+ PCF50606_REG_DCDC1,
-+ PCF50606_REG_DCDC2,
-+ PCF50606_REG_DCDC3,
-+ PCF50606_REG_DCDC4,
-+ PCF50606_REG_DCDEC1,
-+ PCF50606_REG_DCDEC2,
-+ PCF50606_REG_DCUDC1,
-+ PCF50606_REG_DCUDC2,
-+ PCF50606_REG_IOREGC,
-+ PCF50606_REG_D1REGC1,
-+ PCF50606_REG_D2REGC1,
-+ PCF50606_REG_D3REGC1,
-+ PCF50606_REG_LPREGC1,
-+ PCF50606_REG_LPREGC2,
-+ PCF50606_REG_MBCC1,
-+ PCF50606_REG_MBCC2,
-+ PCF50606_REG_MBCC3,
-+ PCF50606_REG_BBCC,
-+ PCF50606_REG_ADCC1,
-+ PCF50606_REG_ADCC2,
-+ PCF50606_REG_ACDC1,
-+ PCF50606_REG_BVMC,
-+ PCF50606_REG_PWMC1,
-+ PCF50606_REG_LEDC1,
-+ PCF50606_REG_LEDC2,
-+ PCF50606_REG_GPOC1,
-+ PCF50606_REG_GPOC2,
-+ PCF50606_REG_GPOC3,
-+ PCF50606_REG_GPOC4,
-+ PCF50606_REG_GPOC5,
++static const u_int8_t regs_valid[] = {
++ PCF50606_REG_OOCS, PCF50606_REG_INT1M, PCF50606_REG_INT2M,
++ PCF50606_REG_INT3M, PCF50606_REG_OOCC1, PCF50606_REG_OOCC2,
++ PCF50606_REG_PSSC, PCF50606_REG_PWROKM, PCF50606_REG_DCDC1,
++ PCF50606_REG_DCDC2, PCF50606_REG_DCDC3, PCF50606_REG_DCDC4,
++ PCF50606_REG_DCDEC1, PCF50606_REG_DCDEC2, PCF50606_REG_DCUDC1,
++ PCF50606_REG_DCUDC2, PCF50606_REG_IOREGC, PCF50606_REG_D1REGC1,
++ PCF50606_REG_D2REGC1, PCF50606_REG_D3REGC1, PCF50606_REG_LPREGC1,
++ PCF50606_REG_LPREGC2, PCF50606_REG_MBCC1, PCF50606_REG_MBCC2,
++ PCF50606_REG_MBCC3, PCF50606_REG_BBCC, PCF50606_REG_ADCC1,
++ PCF50606_REG_ADCC2, PCF50606_REG_ACDC1, PCF50606_REG_BVMC,
++ PCF50606_REG_PWMC1, PCF50606_REG_LEDC1, PCF50606_REG_LEDC2,
++ PCF50606_REG_GPOC1, PCF50606_REG_GPOC2, PCF50606_REG_GPOC3,
++ PCF50606_REG_GPOC4, PCF50606_REG_GPOC5,
+};
+
+
More information about the commitlog
mailing list