You are on page 1of 1

#!

/bin/sh
#########################################################
## Configuring emmc driver based on variant info
#########################################################

/sbin/hwid > /tmp/hwinfo

if [ -e /tmp/hwinfo ] ; then
. /tmp/hwinfo
fi

#Start emmc driver in correct setting


if [ "$MY" -ge "1850" ]; then
echo "HS200 enabled"
on -p 65 devb-sdmmc-omap5evm cam resmgr,cache,async sdmmc priority=65 blk
cache=2M sdio timing=hs200,~ac12 &
else
echo "HS200 disabled"
on -p 65 devb-sdmmc-omap5evm cam resmgr,cache,async sdmmc priority=65 blk
cache=2M sdio timing=~hs200,~ac12 &
fi

You might also like