diff options
Diffstat (limited to 'live_mmc')
-rwxr-xr-x | live_mmc | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -1,20 +1,15 @@ #!/bin/bash - -build() { - local filter - local -A blockdevs - - mmc - if add_checked_modules '/mmc'; then - blockdevs+=(['tifm_7xx1?']=1 ['mmc_block?']=1) - fi - map add_module "${!blockdevs[@]}" +build(){ + # mmc + map add_module mmc_block? + add_checked_modules '/(mmc|tifm_)' } help() { cat <<HELPEOF -This hook loads the necessary modules for most block devices using mmc. Detection will take place at runtime. To minimize -the modules in the image, add the autodetect hook too. +This hook loads the necessary modules for most block devices using mmc. +Detection will take place at runtime. To minimize the modules in the image, add +the autodetect hook too. HELPEOF } |