summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-12-02 13:54:56 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-12-22 10:44:07 +0100
commit4c28b1df18d0c31e841b98274db0c22e6f032c43 (patch)
treebda2822409daaa2a74b97c177be93243376d5b3b
parent583ab3c9f44694c48cf74895a736d928dcc2a469 (diff)
linux-openmoko: use add module_autoload for 2.6.31, add ppp_generic and load snd modules from machine configs
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--conf/machine/om-gta02.conf2
-rw-r--r--recipes/images/shr-image.inc6
-rw-r--r--recipes/linux/linux-openmoko.inc8
3 files changed, 4 insertions, 12 deletions
diff --git a/conf/machine/om-gta02.conf b/conf/machine/om-gta02.conf
index 8e8355ba6f..c65d971144 100644
--- a/conf/machine/om-gta02.conf
+++ b/conf/machine/om-gta02.conf
@@ -83,6 +83,8 @@ UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"
EXTRA_IMAGEDEPENDS += "sjf2410-linux-native dfu-util-native"
module_autoload_snd-soc-neo1973-gta02-wm8753 = "snd-soc-neo1973-gta02-wm8753"
+#2.6.31 is using the same name as it was in gta01
+module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-neo1973-wm8753"
# tune for S3C24x0
include conf/machine/include/tune-arm920t.inc
diff --git a/recipes/images/shr-image.inc b/recipes/images/shr-image.inc
index ac2053737e..bbda84d93b 100644
--- a/recipes/images/shr-image.inc
+++ b/recipes/images/shr-image.inc
@@ -98,12 +98,6 @@ shr_rootfs_postprocess() {
#set up a nice gentoo-like PS1
echo "export PS1=\"\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] \"">> ./etc/profile
- #load modules on boot
- [ -d ./etc/modutils ] || mkdir ./etc/modutils
- # FIXME: do load those modules through module_autoload in
- # machine config or distro config
- echo "ppp_generic" > ./etc/modutils/ppp_generic
-
#set up some variables to improve default settings
echo "if [ \"\$DISPLAY\" = \"\" ]" >> ./etc/profile
echo "then" >> ./etc/profile
diff --git a/recipes/linux/linux-openmoko.inc b/recipes/linux/linux-openmoko.inc
index e789e76b1a..99865c9818 100644
--- a/recipes/linux/linux-openmoko.inc
+++ b/recipes/linux/linux-openmoko.inc
@@ -28,12 +28,8 @@ THUMB_INTERWORKING = "no"
module_autoload_ohci-hcd = "ohci-hcd"
module_autoload_hci_usb = "hci_usb"
module_autoload_g_ether = "g_ether"
-# audio (GTA01)
-module_autoload_snd-soc-neo1973-wm8753 = "snd-soc-neo1973-wm8753"
-# audio (GTA02)
-module_autoload_snd-soc-neo1973-gta02-wm8753 = "snd-soc-neo1973-gta02-wm8753"
-# audio (GTA03)
-module_autoload_snd-soc-neo1973-gta03-wm8753 = ""
+module_autoload_ppp_generic = "ppp_generic"
+# snd modules module_autoload_snd-soc-neo1973-*-wm8753 are in machine.conf
# sd/mmc
module_autoload_s3cmci = "s3cmci"