summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap-pm
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-02-27 18:14:21 +0100
committerKoen Kooi <koen@openembedded.org>2009-02-27 18:14:21 +0100
commit47a6f40a74512280ab93b3a8f7f213c45cf60746 (patch)
tree55d77a7aaca8d664c405fd89762964b340e1e2b4 /packages/linux/linux-omap-pm
parentd5ba6161471a1403d62092587132f1113806642c (diff)
linux-omap-pm: add cpufreq support for omap3evm, update defconfig
Diffstat (limited to 'packages/linux/linux-omap-pm')
-rw-r--r--packages/linux/linux-omap-pm/add-cpufreq-for-omap3evm.diff28
-rw-r--r--packages/linux/linux-omap-pm/omap3evm/defconfig34
2 files changed, 55 insertions, 7 deletions
diff --git a/packages/linux/linux-omap-pm/add-cpufreq-for-omap3evm.diff b/packages/linux/linux-omap-pm/add-cpufreq-for-omap3evm.diff
new file mode 100644
index 0000000000..e9986cf36a
--- /dev/null
+++ b/packages/linux/linux-omap-pm/add-cpufreq-for-omap3evm.diff
@@ -0,0 +1,28 @@
+--- /tmp/board-omap3evm.c 2009-02-27 17:02:00.000000000 +0100
++++ git/arch/arm/mach-omap2/board-omap3evm.c 2009-02-27 17:21:10.000000000 +0100
+@@ -37,11 +37,14 @@
+ #include <mach/common.h>
+ #include <mach/mcspi.h>
+ #include <mach/display.h>
++#include <mach/omap-pm.h>
++#include <mach/clock.h>
+
+ #include "sdram-micron-mt46h32m32lf-6.h"
+ #include "twl4030-generic-scripts.h"
+ #include "mmc-twl4030.h"
+-
++#include "pm.h"
++#include "omap3-opp.h"
+
+ static struct resource omap3evm_smc911x_resources[] = {
+ [0] = {
+@@ -406,7 +409,8 @@
+
+ static void __init omap3_evm_init_irq(void)
+ {
+- omap2_init_common_hw(mt46h32m32lf6_sdrc_params, NULL, NULL, NULL);
++ omap2_init_common_hw(mt46h32m32lf6_sdrc_params, omap3_mpu_rate_table,
++ omap3_dsp_rate_table, omap3_l3_rate_table);
+ omap_init_irq();
+ omap_gpio_init();
+ omap3evm_init_smc911x();
diff --git a/packages/linux/linux-omap-pm/omap3evm/defconfig b/packages/linux/linux-omap-pm/omap3evm/defconfig
index da5a8c4b90..7a90a53edb 100644
--- a/packages/linux/linux-omap-pm/omap3evm/defconfig
+++ b/packages/linux/linux-omap-pm/omap3evm/defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.28-omap1
-# Thu Jan 8 16:06:45 2009
+# Fri Feb 27 17:50:51 2009
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
@@ -195,11 +195,16 @@ CONFIG_OMAP_MCBSP=y
# CONFIG_OMAP_MBOX_FWK is not set
# CONFIG_OMAP_MPU_TIMER is not set
CONFIG_OMAP_32K_TIMER=y
+# CONFIG_OMAP3_DEBOBS is not set
CONFIG_OMAP_32K_TIMER_HZ=128
+CONFIG_OMAP_TICK_GPTIMER=12
CONFIG_OMAP_DM_TIMER=y
CONFIG_OMAP_LL_DEBUG_UART1=y
# CONFIG_OMAP_LL_DEBUG_UART2 is not set
# CONFIG_OMAP_LL_DEBUG_UART3 is not set
+# CONFIG_OMAP_PM_NONE is not set
+CONFIG_OMAP_PM_NOOP=y
+# CONFIG_OMAP_PM_SRF is not set
CONFIG_OMAP2_DSS=y
CONFIG_OMAP2_DSS_DEBUG_SUPPORT=y
# CONFIG_OMAP2_DSS_RFBI is not set
@@ -221,7 +226,6 @@ CONFIG_MACH_OMAP3EVM=y
# CONFIG_MACH_OMAP3_BEAGLE is not set
# CONFIG_MACH_OVERO is not set
# CONFIG_MACH_OMAP3_PANDORA is not set
-CONFIG_OMAP_TICK_GPTIMER=12
#
# Boot options
@@ -328,7 +332,9 @@ CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
-# CONFIG_CPU_IDLE is not set
+CONFIG_CPU_IDLE=y
+CONFIG_CPU_IDLE_GOV_LADDER=y
+CONFIG_CPU_IDLE_GOV_MENU=y
#
# Floating point emulation
@@ -613,7 +619,15 @@ CONFIG_MTD_ONENAND_OMAP2=y
#
# UBI - Unsorted block images
#
-# CONFIG_MTD_UBI is not set
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_MTD_UBI_BEB_RESERVE=1
+# CONFIG_MTD_UBI_GLUEBI is not set
+
+#
+# UBI debugging options
+#
+# CONFIG_MTD_UBI_DEBUG is not set
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
@@ -1902,6 +1916,12 @@ CONFIG_JFFS2_RUBIN=y
CONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
+CONFIG_UBIFS_FS=y
+CONFIG_UBIFS_FS_XATTR=y
+CONFIG_UBIFS_FS_ADVANCED_COMPR=y
+CONFIG_UBIFS_FS_LZO=y
+CONFIG_UBIFS_FS_ZLIB=y
+# CONFIG_UBIFS_FS_DEBUG is not set
CONFIG_CRAMFS=m
# CONFIG_VXFS_FS is not set
# CONFIG_MINIX_FS is not set
@@ -2167,8 +2187,8 @@ CONFIG_CRYPTO_TWOFISH_COMMON=m
#
# Compression
#
-CONFIG_CRYPTO_DEFLATE=m
-# CONFIG_CRYPTO_LZO is not set
+CONFIG_CRYPTO_DEFLATE=y
+CONFIG_CRYPTO_LZO=y
#
# Random Number Generation
@@ -2181,7 +2201,7 @@ CONFIG_CRYPTO_HW=y
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=y
-CONFIG_CRC16=m
+CONFIG_CRC16=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_ITU_T=y
CONFIG_CRC32=y