[oe-commits] : linux-openmoko 2.6.24+git add glamo-turbo-mode (from andy branch), bring defconfig-oe in line w/ linux-openmoko-devel

OE GIT Trial gittrial at amethyst.openembedded.net
Sun Sep 14 23:22:46 UTC 2008


Module: OE.dev
Branch: org.openembedded.dev
Commit: ba51119e199ea39a2119ca3f1ad502a90b6f3580
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=ba51119e199ea39a2119ca3f1ad502a90b6f3580

Author:  <mickeyl at openembedded.org>
Date:   Sun Sep 14 23:16:19 2008 +0000

linux-openmoko 2.6.24+git add glamo-turbo-mode (from andy branch), bring defconfig-oe in line w/ linux-openmoko-devel

---

 packages/linux/linux-openmoko/defconfig-oe         |   48 ++++++++++----------
 .../linux/linux-openmoko/glamo-turbo-mode.patch    |   32 +++++++++++++
 packages/linux/linux-openmoko_2.6.24+git.bb        |    4 +-
 3 files changed, 59 insertions(+), 25 deletions(-)

diff --git a/packages/linux/linux-openmoko/defconfig-oe b/packages/linux/linux-openmoko/defconfig-oe
index 174f0a5..4154639 100644
--- a/packages/linux/linux-openmoko/defconfig-oe
+++ b/packages/linux/linux-openmoko/defconfig-oe
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.24
-# Sat Aug  9 09:51:30 2008
+# Mon Feb 25 07:03:56 2008
 #
 CONFIG_ARM=y
 CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -569,20 +569,20 @@ CONFIG_NET_SCH_FIFO=y
 # CONFIG_NET_PKTGEN is not set
 # CONFIG_HAMRADIO is not set
 # CONFIG_IRDA is not set
-CONFIG_BT=y
-CONFIG_BT_L2CAP=y
-CONFIG_BT_SCO=y
-CONFIG_BT_RFCOMM=y
+CONFIG_BT=m
+CONFIG_BT_L2CAP=m
+CONFIG_BT_SCO=m
+CONFIG_BT_RFCOMM=m
 CONFIG_BT_RFCOMM_TTY=y
-CONFIG_BT_BNEP=y
+CONFIG_BT_BNEP=m
 CONFIG_BT_BNEP_MC_FILTER=y
 CONFIG_BT_BNEP_PROTO_FILTER=y
-CONFIG_BT_HIDP=y
+CONFIG_BT_HIDP=m
 
 #
 # Bluetooth device drivers
 #
-CONFIG_BT_HCIUSB=y
+CONFIG_BT_HCIUSB=m
 CONFIG_BT_HCIUSB_SCO=y
 # CONFIG_BT_HCIBTSDIO is not set
 # CONFIG_BT_HCIUART is not set
@@ -891,6 +891,9 @@ CONFIG_INPUT_MOUSE=y
 # CONFIG_INPUT_JOYSTICK is not set
 # CONFIG_INPUT_TABLET is not set
 CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_FILTER=y
+CONFIG_TOUCHSCREEN_FILTER_MEDIAN=y
+CONFIG_TOUCHSCREEN_FILTER_MEAN=y
 # CONFIG_TOUCHSCREEN_ADS7846 is not set
 # CONFIG_TOUCHSCREEN_FUJITSU is not set
 CONFIG_TOUCHSCREEN_S3C2410=y
@@ -1134,13 +1137,13 @@ CONFIG_SOUND=y
 #
 # Advanced Linux Sound Architecture
 #
-CONFIG_SND=y
-CONFIG_SND_TIMER=y
-CONFIG_SND_PCM=y
+CONFIG_SND=m
+CONFIG_SND_TIMER=m
+CONFIG_SND_PCM=m
 # CONFIG_SND_SEQUENCER is not set
 CONFIG_SND_OSSEMUL=y
-CONFIG_SND_MIXER_OSS=y
-CONFIG_SND_PCM_OSS=y
+CONFIG_SND_MIXER_OSS=m
+CONFIG_SND_PCM_OSS=m
 CONFIG_SND_PCM_OSS_PLUGINS=y
 # CONFIG_SND_DYNAMIC_MINORS is not set
 CONFIG_SND_SUPPORT_OLD_API=y
@@ -1173,17 +1176,16 @@ CONFIG_SND_VERBOSE_PROCFS=y
 #
 # System on Chip audio support
 #
-CONFIG_SND_SOC=y
-CONFIG_SND_S3C24XX_SOC=y
-CONFIG_SND_S3C24XX_SOC_I2S=y
-CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753=y
-# CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753_DEBUG is not set
-CONFIG_SND_S3C24XX_SOC_NEO1973_GTA02_WM8753=y
+CONFIG_SND_SOC=m
+CONFIG_SND_S3C24XX_SOC=m
+CONFIG_SND_S3C24XX_SOC_I2S=m
+CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753=m
+CONFIG_SND_S3C24XX_SOC_NEO1973_GTA02_WM8753=m
 
 #
 # SoC Audio support for SuperH
 #
-CONFIG_SND_SOC_WM8753=y
+CONFIG_SND_SOC_WM8753=m
 
 #
 # Open Sound System
@@ -1228,7 +1230,7 @@ CONFIG_USB_SUSPEND=y
 # USB Host Controller Drivers
 #
 # CONFIG_USB_ISP116X_HCD is not set
-CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_HCD=m
 # CONFIG_USB_OHCI_BIG_ENDIAN_DESC is not set
 # CONFIG_USB_OHCI_BIG_ENDIAN_MMIO is not set
 CONFIG_USB_OHCI_LITTLE_ENDIAN=y
@@ -1566,9 +1568,6 @@ CONFIG_JFFS2_ZLIB=y
 CONFIG_JFFS2_RTIME=y
 # CONFIG_JFFS2_RUBIN is not set
 CONFIG_CRAMFS=y
-CONFIG_SQUASHFS=m
-# CONFIG_SQUASHFS_EMBEDDED is not set
-CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3
 # CONFIG_VXFS_FS is not set
 # CONFIG_HPFS_FS is not set
 # CONFIG_QNX4FS_FS is not set
@@ -1605,6 +1604,7 @@ CONFIG_CIFS_WEAK_PW_HASH=y
 # CONFIG_NCP_FS is not set
 # CONFIG_CODA_FS is not set
 # CONFIG_AFS_FS is not set
+CONFIG_SQUASHFS=m
 
 #
 # Partition Types
diff --git a/packages/linux/linux-openmoko/glamo-turbo-mode.patch b/packages/linux/linux-openmoko/glamo-turbo-mode.patch
new file mode 100644
index 0000000..4f03c96
--- /dev/null
+++ b/packages/linux/linux-openmoko/glamo-turbo-mode.patch
@@ -0,0 +1,32 @@
+X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=blobdiff_plain;f=drivers%2Fmfd%2Fglamo%2Fglamo-core.c;fp=drivers%2Fmfd%2Fglamo%2Fglamo-core.c;h=bc91178ba609fbb99343eca212e7dda85e110d7c;hp=2619c5fc9fc3a189232504b97d3f024249bd9a72;hb=b920e3309db7e4f733499dc724a0dfba310edc5c;hpb=c1768ad6cc5b11eeda4394f68fbaedd03eea3354
+
+diff --git a/drivers/mfd/glamo/glamo-core.c b/drivers/mfd/glamo/glamo-core.c
+index 2619c5f..bc91178 100644
+--- a/drivers/mfd/glamo/glamo-core.c
++++ b/drivers/mfd/glamo/glamo-core.c
+@@ -740,7 +740,11 @@ static struct glamo_script glamo_init_script[] = {
+ 	{ GLAMO_REG_CLOCK_GEN7,		0x0101 },
+ 	{ GLAMO_REG_CLOCK_GEN8,		0x0100 },
+ 	{ GLAMO_REG_CLOCK_HOST,		0x000d },
+-	{ 0x200,	0x0ef0 },
++	/*
++	 * b7..b4 = 0 = no wait states on read or write
++	 * b0 = 1 select PLL2 for Host interface, b1 = enable it
++	 */
++	{ 0x200,	0x0e03 },
+ 	{ 0x202, 	0x07ff },
+ 	{ 0x212,	0x0000 },
+ 	{ 0x214,	0x4000 },
+@@ -750,11 +754,7 @@ static struct glamo_script glamo_init_script[] = {
+ 	 * more efficiency when 640x480" */
+ 	{ GLAMO_REG_MEM_TYPE,		0x0c74 }, /* 8MB, 16 word pg wr+rd */
+ 	{ GLAMO_REG_MEM_GEN,		0xafaf }, /* 63 grants min + max */
+-	/*
+-	 * the register below originally 0x0108 makes unreliable Glamo MMC
+-	 * write operations.  Cranked to 0x05ad to add a wait state, the
+-	 * unreliability is not seen after 4GB of write / read testing
+-	 */
++
+ 	{ GLAMO_REG_MEM_TIMING1,	0x0108 },
+ 	{ GLAMO_REG_MEM_TIMING2,	0x0010 }, /* Taa = 3 MCLK */
+ 	{ GLAMO_REG_MEM_TIMING3,	0x0000 },
diff --git a/packages/linux/linux-openmoko_2.6.24+git.bb b/packages/linux/linux-openmoko_2.6.24+git.bb
index 8520adc..541fac4 100644
--- a/packages/linux/linux-openmoko_2.6.24+git.bb
+++ b/packages/linux/linux-openmoko_2.6.24+git.bb
@@ -7,7 +7,7 @@ KERNEL_RELEASE = "2.6.24"
 KERNEL_VERSION = "${KERNEL_RELEASE}"
 
 PV = "${KERNEL_RELEASE}+${PR}+gitr${SRCREV}"
-PR = "r5"
+PR = "r7"
 
 SRC_URI = "\
   git://git.openmoko.org/git/kernel.git;protocol=git;branch=stable \
@@ -18,6 +18,8 @@ SRC_URI = "\
   file://0004-squashfs-Kconfig.patch;patch=1 \
   file://0005-squashfs-Makefile.patch;patch=1 \
   \
+  file://glamo-turbo-mode.patch;patch=1 \
+  \
   file://defconfig-oe \
 "
 S = "${WORKDIR}/git"





More information about the Openembedded-commits mailing list