diff options
author | Leonardo Graboski Veiga <leogveiga@gmail.com> | 2017-03-27 12:38:39 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-04-10 09:11:43 +0200 |
commit | 84785dff2f5eb8c1b3f682ce934b0b4e219a135a (patch) | |
tree | 5019320ec5076337d9d408e7fbbc75c7e631a406 /recipes-core | |
parent | a51a3e94f0f63d7fb989d5d2a36337ef5c0e4556 (diff) |
nv-conf-systemd: remove emmc read ahead configuration
The read_ahead configuration is now set using udev. The script run from udev
was added to meta-toradex-bsp-common, since it applies to all modules with
eMMC.
Signed-off-by: Leonardo Graboski Veiga <leogveiga@gmail.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/nv-conf/files/nv-conf.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/recipes-core/nv-conf/files/nv-conf.sh b/recipes-core/nv-conf/files/nv-conf.sh index 6376c5d..3b34257 100644 --- a/recipes-core/nv-conf/files/nv-conf.sh +++ b/recipes-core/nv-conf/files/nv-conf.sh @@ -21,15 +21,4 @@ if [ -e /sys/module/cpuidle/parameters/lp2_in_idle ] ; then echo "Y" > /sys/module/cpuidle/parameters/lp2_in_idle fi -# mmc read ahead size -if [ -e /sys/block/mmcblk0/queue/read_ahead_kb ]; then - echo 2048 > /sys/block/mmcblk0/queue/read_ahead_kb -fi -if [ -e /sys/block/mmcblk1/queue/read_ahead_kb ]; then - echo 2048 > /sys/block/mmcblk1/queue/read_ahead_kb -fi -if [ -e /sys/block/mmcblk2/queue/read_ahead_kb ]; then - echo 2048 > /sys/block/mmcblk2/queue/read_ahead_kb -fi - exit 0 |