Send commitlog mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. r3647 - in trunk/src/target/gsm: include/gsmd src/gsmd
src/libgsmd ([EMAIL PROTECTED])
2. r3648 - trunk/src/target/u-boot/patches
([EMAIL PROTECTED])
--- Begin Message ---
Author: erin_yueh
Date: 2007-12-13 03:55:54 +0100 (Thu, 13 Dec 2007)
New Revision: 3647
Modified:
trunk/src/target/gsm/include/gsmd/event.h
trunk/src/target/gsm/src/gsmd/usock.c
trunk/src/target/gsm/src/libgsmd/libgsmd_pin.c
Log:
gsmd: move PIN name to both gsmd and libgsmd (Erin Yueh)
Modified: trunk/src/target/gsm/include/gsmd/event.h
===================================================================
--- trunk/src/target/gsm/include/gsmd/event.h 2007-12-12 19:30:20 UTC (rev
3646)
+++ trunk/src/target/gsm/include/gsmd/event.h 2007-12-13 02:55:54 UTC (rev
3647)
@@ -24,7 +24,7 @@
/* Chapter 8.3 */
enum gsmd_pin_type { /* waiting for ... */
- GSMD_PIN_NONE = 0, /* not for any PIN */
+ GSMD_PIN_READY = 0, /* not pending for any password */
GSMD_PIN_SIM_PIN = 1, /* SIM PIN */
GSMD_PIN_SIM_PUK = 2, /* SIM PUK */
GSMD_PIN_PH_SIM_PIN = 3, /* phone-to-SIM passowrd */
@@ -43,25 +43,6 @@
__NUM_GSMD_PIN
};
-static const char *pin_type_names[__NUM_GSMD_PIN] = {
- [GSMD_PIN_NONE] = "NONE",
- [GSMD_PIN_SIM_PIN] = "SIM PIN",
- [GSMD_PIN_SIM_PUK] = "SIM PUK",
- [GSMD_PIN_PH_SIM_PIN] = "Phone-to-SIM PIN",
- [GSMD_PIN_PH_FSIM_PIN] = "Phone-to-very-first SIM PIN",
- [GSMD_PIN_PH_FSIM_PUK] = "Phone-to-very-first SIM PUK",
- [GSMD_PIN_SIM_PIN2] = "SIM PIN2",
- [GSMD_PIN_SIM_PUK2] = "SIM PUK2",
- [GSMD_PIN_PH_NET_PIN] = "Network personalization PIN",
- [GSMD_PIN_PH_NET_PUK] = "Network personalizaiton PUK",
- [GSMD_PIN_PH_NETSUB_PIN]= "Network subset personalisation PIN",
- [GSMD_PIN_PH_NETSUB_PUK]= "Network subset personalisation PUK",
- [GSMD_PIN_PH_SP_PIN] = "Service provider personalisation PIN",
- [GSMD_PIN_PH_SP_PUK] = "Service provider personalisation PUK",
- [GSMD_PIN_PH_CORP_PIN] = "Corporate personalisation PIN",
- [GSMD_PIN_PH_CORP_PUK] = "Corporate personalisation PUK",
-};
-
enum gsmd_call_type {
GSMD_CALL_NONE = 0,
GSMD_CALL_UNSPEC = 1,
Modified: trunk/src/target/gsm/src/gsmd/usock.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/usock.c 2007-12-12 19:30:20 UTC (rev
3646)
+++ trunk/src/target/gsm/src/gsmd/usock.c 2007-12-13 02:55:54 UTC (rev
3647)
@@ -303,6 +303,25 @@
cmd->id, sizeof(ret), &ret);
}
+static const char *pin_type_names[__NUM_GSMD_PIN] = {
+ [GSMD_PIN_READY] = "READY",
+ [GSMD_PIN_SIM_PIN] = "SIM PIN",
+ [GSMD_PIN_SIM_PUK] = "SIM PUK",
+ [GSMD_PIN_PH_SIM_PIN] = "Phone-to-SIM PIN",
+ [GSMD_PIN_PH_FSIM_PIN] = "Phone-to-very-first SIM PIN",
+ [GSMD_PIN_PH_FSIM_PUK] = "Phone-to-very-first SIM PUK",
+ [GSMD_PIN_SIM_PIN2] = "SIM PIN2",
+ [GSMD_PIN_SIM_PUK2] = "SIM PUK2",
+ [GSMD_PIN_PH_NET_PIN] = "Network personalization PIN",
+ [GSMD_PIN_PH_NET_PUK] = "Network personalizaiton PUK",
+ [GSMD_PIN_PH_NETSUB_PIN]= "Network subset personalisation PIN",
+ [GSMD_PIN_PH_NETSUB_PUK]= "Network subset personalisation PUK",
+ [GSMD_PIN_PH_SP_PIN] = "Service provider personalisation PIN",
+ [GSMD_PIN_PH_SP_PUK] = "Service provider personalisation PUK",
+ [GSMD_PIN_PH_CORP_PIN] = "Corporate personalisation PIN",
+ [GSMD_PIN_PH_CORP_PUK] = "Corporate personalisation PUK",
+};
+
static int get_cpin_cb(struct gsmd_atcmd *cmd, void *ctx, char *resp)
{
enum gsmd_pin_type type;
Modified: trunk/src/target/gsm/src/libgsmd/libgsmd_pin.c
===================================================================
--- trunk/src/target/gsm/src/libgsmd/libgsmd_pin.c 2007-12-12 19:30:20 UTC
(rev 3646)
+++ trunk/src/target/gsm/src/libgsmd/libgsmd_pin.c 2007-12-13 02:55:54 UTC
(rev 3647)
@@ -28,6 +28,25 @@
#include <gsmd/event.h>
#include <libgsmd/libgsmd.h>
+static const char *pin_type_names[__NUM_GSMD_PIN] = {
+ [GSMD_PIN_READY] = "READY",
+ [GSMD_PIN_SIM_PIN] = "SIM PIN",
+ [GSMD_PIN_SIM_PUK] = "SIM PUK",
+ [GSMD_PIN_PH_SIM_PIN] = "Phone-to-SIM PIN",
+ [GSMD_PIN_PH_FSIM_PIN] = "Phone-to-very-first SIM PIN",
+ [GSMD_PIN_PH_FSIM_PUK] = "Phone-to-very-first SIM PUK",
+ [GSMD_PIN_SIM_PIN2] = "SIM PIN2",
+ [GSMD_PIN_SIM_PUK2] = "SIM PUK2",
+ [GSMD_PIN_PH_NET_PIN] = "Network personalization PIN",
+ [GSMD_PIN_PH_NET_PUK] = "Network personalizaiton PUK",
+ [GSMD_PIN_PH_NETSUB_PIN]= "Network subset personalisation PIN",
+ [GSMD_PIN_PH_NETSUB_PUK]= "Network subset personalisation PUK",
+ [GSMD_PIN_PH_SP_PIN] = "Service provider personalisation PIN",
+ [GSMD_PIN_PH_SP_PUK] = "Service provider personalisation PUK",
+ [GSMD_PIN_PH_CORP_PIN] = "Corporate personalisation PIN",
+ [GSMD_PIN_PH_CORP_PUK] = "Corporate personalisation PUK",
+};
+
const char *lgsm_pin_name(enum gsmd_pin_type ptype)
{
if (ptype >= __NUM_GSMD_PIN)
--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-12-13 09:28:30 +0100 (Thu, 13 Dec 2007)
New Revision: 3648
Modified:
trunk/src/target/u-boot/patches/uboot-gta02.patch
Log:
Use correct Smedia Glamo 3362 timings (Chia-I Wu) (Closes: #1017)
Modified: trunk/src/target/u-boot/patches/uboot-gta02.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-gta02.patch 2007-12-13 02:55:54 UTC
(rev 3647)
+++ trunk/src/target/u-boot/patches/uboot-gta02.patch 2007-12-13 08:28:30 UTC
(rev 3648)
@@ -4,7 +4,7 @@
===================================================================
--- u-boot.orig/Makefile
+++ u-boot/Makefile
-@@ -2201,6 +2201,13 @@
+@@ -2250,6 +2250,13 @@
sbc2410x_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
@@ -1435,16 +1435,19 @@
#define B2_BWSCON (DW16)
#define B3_BWSCON (DW16 + WAIT + UBLB)
#define B4_BWSCON (DW16)
-@@ -68,9 +68,9 @@
+@@ -66,11 +66,11 @@
+ #define B0_Tacp 0x0
+ #define B0_PMC 0x0 /* normal */
- /* BANK1CON */
+-/* BANK1CON */
++/* BANK1CON: Smedia Glamo 3362 (on GTA02) */
#define B1_Tacs 0x0 /* 0clk */
-#define B1_Tcos 0x0 /* 0clk */
-#define B1_Tacc 0x7 /* 14clk */
-#define B1_Tcoh 0x0 /* 0clk */
-+#define B1_Tcos 0x1 /* 1clk */
-+#define B1_Tacc 0x4 /* 4clk */
-+#define B1_Tcoh 0x1 /* 1clk */
++#define B1_Tcos 0x3 /* 4clk */
++#define B1_Tacc 0x3 /* 4clk */
++#define B1_Tcoh 0x3 /* 4clk */
#define B1_Tah 0x0 /* 0clk */
#define B1_Tacp 0x0
#define B1_PMC 0x0
@@ -1863,23 +1866,23 @@
+}
+
+#endif /* CONFIG_VIDEO_GLAMO3362 */
-Index: u-boot/drivers/Makefile
+Index: u-boot/drivers/video/Makefile
===================================================================
--- u-boot.orig/drivers/video/Makefile
+++ u-boot/drivers/video/Makefile
-@@ -67,6 +67,7 @@
- COBJS-y += serial_max3100.o
- COBJS-y += serial_xuartlite.o
+@@ -32,6 +32,7 @@
+ COBJS-y += sed13806.o
+ COBJS-y += sed156x.o
COBJS-y += sm501.o
+COBJS-y += smedia3362.o
COBJS-y += smiLynxEM.o
- COBJS-y += usbtty.o
COBJS-y += videomodes.o
+
Index: u-boot/drivers/misc/Makefile
===================================================================
--- u-boot.orig/drivers/misc/Makefile
+++ u-boot/drivers/misc/Makefile
-@@ -145,6 +146,7 @@
+@@ -28,6 +28,7 @@
COBJS-y += ali512x.o
COBJS-y += ns87308.o
COBJS-y += pcf50606.o
--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog