summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-01-24 21:15:23 +0100
committerMichael Gernoth <michael@gernoth.net>2016-01-26 21:06:05 +0100
commitd3699e437cf0dd3ceca9fa640dda4b691b772031 (patch)
treecfc8fead26f1e65bf9f6a67b19e2c0e3c8f5bc4c /rootdir
parentf3f76788de70e73851fcfc59f9a5894311320822 (diff)
downloadhardware_ti_omap4-d3699e437cf0dd3ceca9fa640dda4b691b772031.zip
hardware_ti_omap4-d3699e437cf0dd3ceca9fa640dda4b691b772031.tar.gz
hardware_ti_omap4-d3699e437cf0dd3ceca9fa640dda4b691b772031.tar.bz2
Add common omap4 init file
Add 'import init.omap4.rc' to the device init file to use it. Change-Id: Ic0b8257b66b2d82bf9171ff7644a5689e0ab030d
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.omap4.rc14
1 files changed, 14 insertions, 0 deletions
diff --git a/rootdir/init.omap4.rc b/rootdir/init.omap4.rc
new file mode 100644
index 0000000..7895744
--- /dev/null
+++ b/rootdir/init.omap4.rc
@@ -0,0 +1,14 @@
+on boot
+ # Hardware tunables
+ chown root system /sys/devices/platform/omapdss/manager0/cpr_coef
+ chown root system /sys/devices/platform/omapdss/manager0/cpr_enable
+ chmod 0664 /sys/devices/platform/omapdss/manager0/cpr_coef
+ chmod 0664 /sys/devices/platform/omapdss/manager0/cpr_enable
+ restorecon /sys/devices/platform/omapdss/manager0/cpr_coef
+ restorecon /sys/devices/platform/omapdss/manager0/cpr_enable
+
+service pvrsrvinit /system/bin/pvrsrvinit
+ class core
+ user root
+ group root
+ oneshot