diff options
author | Michael Büsch <mb@bu3sch.de> | 2008-07-18 20:53:08 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2008-07-18 20:53:08 +0000 |
commit | f4b516ef34211bfff04b45570bbe0b3f62d43f7f (patch) | |
tree | 370e47e087afc42b62ecf9fe8c1ab14ad0c91023 /package/mmc_over_gpio/files/mmc_over_gpio.init | |
parent | 9d5543e8b910fd947de8a61bb4a10d67dbdb75b2 (diff) | |
download | mtk-20170518-f4b516ef34211bfff04b45570bbe0b3f62d43f7f.zip mtk-20170518-f4b516ef34211bfff04b45570bbe0b3f62d43f7f.tar.gz mtk-20170518-f4b516ef34211bfff04b45570bbe0b3f62d43f7f.tar.bz2 |
Update GPIO-based MMC driver
SVN-Revision: 11864
Diffstat (limited to 'package/mmc_over_gpio/files/mmc_over_gpio.init')
-rw-r--r-- | package/mmc_over_gpio/files/mmc_over_gpio.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mmc_over_gpio/files/mmc_over_gpio.init b/package/mmc_over_gpio/files/mmc_over_gpio.init index 88d9e41..57c5695 100644 --- a/package/mmc_over_gpio/files/mmc_over_gpio.init +++ b/package/mmc_over_gpio/files/mmc_over_gpio.init @@ -3,11 +3,11 @@ START=90 SYSFS="/sys" -SYSFS_DRIVERDIR="$SYSFS/bus/platform/drivers/spi-gpio-mmc" +SYSFS_DRIVERDIR="$SYSFS/bus/platform/drivers/gpiommc" # add_device(name, DI_pin, DO_pin, CLK_pin, CS_pin, mode) add_device() { - echo -n "$1" "$2","$3","$4","$5" "$6" > $SYSFS_DRIVERDIR/add + echo -n "$1" "$2" "$3" "$4" "$5" "$6" > $SYSFS_DRIVERDIR/add } # remove_device(name) |