diff options
author | Michael Buesch <m@bues.ch> | 2019-08-06 17:14:11 +0200 |
---|---|---|
committer | Michael Buesch <m@bues.ch> | 2019-08-06 18:33:12 +0200 |
commit | 597e98e37e5e2f211c6737af8e3cfa1a453e9686 (patch) | |
tree | b3fd7e102dafa3b88f1c90f4a75a0055d517e361 | |
parent | 0d87355c88fb502ee9a04b4ceff92f45874aa164 (diff) | |
download | awlsim-597e98e37e5e2f211c6737af8e3cfa1a453e9686.tar.xz awlsim-597e98e37e5e2f211c6737af8e3cfa1a453e9686.zip |
pilc: Do not manipulate i2c0 state
Signed-off-by: Michael Buesch <m@bues.ch>
-rw-r--r-- | pilc/templates/rc.local | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pilc/templates/rc.local b/pilc/templates/rc.local index 05c69f06..1511e180 100644 --- a/pilc/templates/rc.local +++ b/pilc/templates/rc.local @@ -15,12 +15,6 @@ set +e export PATH=/bin:/usr/bin:/sbin:/usr/sbin export LC_ALL=C LANGUAGE=C LANG=C -# Workaround firmware issue leaving i2c0 in an non-ALT0 state. -for i in 28 29; do - echo $i > /sys/class/gpio/export - echo in > /sys/class/gpio/gpio${i}/direction -done - # Add /dev/ttyS0 link for convenience. if ! [ -e /dev/ttyS0 ]; then ln -s /dev/ttyAMA0 /dev/ttyS0 |