dragonboard: add display type configuration
Signed-off-by: August <mingxin.android@gmail.com>
This commit is contained in:
parent
6e3b26154d
commit
e97e74a527
3 changed files with 23 additions and 1 deletions
|
@ -38,6 +38,15 @@ if [ $nand_activated -eq 1 ]; then
|
|||
|
||||
fi
|
||||
|
||||
display_type=`script_fetch "df_view" "display_type"`
|
||||
echo "got display type is $display_type"
|
||||
if [ $display_type -eq 1 ]; then
|
||||
echo "got hdmi display type"
|
||||
insmod /system/vendor/modules/hdmi.ko
|
||||
else
|
||||
echo "got lcd display type"
|
||||
fi
|
||||
|
||||
# insmod touchscreen driver
|
||||
tp_module_path=`script_fetch "tp" "module_path"`
|
||||
if [ -n "$tp_module_path" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue