summaryrefslogtreecommitdiff
path: root/recipes
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 /recipes
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>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/images/shr-image.inc6
-rw-r--r--recipes/linux/linux-openmoko.inc8
2 files changed, 2 insertions, 12 deletions
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"