Enable eSE2 and ctsmode settings
turn on st33spi when persist.vendor.se.ese2.mode is set to ctsmode Bug: 239657021 Bug: 239655807 Test: VtsHalSecureElementV1_2TargetTest, VtsHalSecureElementV1_1TargetTest, VtsHalSecureElementV1_0TargetTest, CtsOmapiTestCases Change-Id: Ifd96d96068f49d85879efdd3d11a7067f71ee907
This commit is contained in:
parent
bedc610607
commit
ffc1fc5c5b
1 changed files with 4 additions and 0 deletions
|
@ -42,6 +42,10 @@ on post-fs-data
|
||||||
chown system system /dev/goodix_fp
|
chown system system /dev/goodix_fp
|
||||||
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
|
exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g7.app
|
||||||
|
|
||||||
|
# SecureElement eSE2 cts mode
|
||||||
|
on property:persist.vendor.se.ese2.mode=ctsmode
|
||||||
|
write /sys/class/st33spi/st33spi/st33spi_state 33
|
||||||
|
|
||||||
# Allow secure_element group to read / write ST33 SPI state
|
# Allow secure_element group to read / write ST33 SPI state
|
||||||
on post-fs-data
|
on post-fs-data
|
||||||
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
|
chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state
|
||||||
|
|
Loading…
Reference in a new issue