23 Commits

Author SHA1 Message Date
Nolen Johnson
c643fc5a63 PL2: Actually include firmware
Change-Id: I07ae71ac2ecd565a157a24a2596cb2d695fc11f0
2024-05-06 12:47:44 -04:00
Nolen Johnson
2fc342c20c PL2: Use 2nd arch from common as well
Change-Id: Iaae7af9eff5d46ec10a7b6f6309bbfee9e348ccd
2023-11-27 23:17:26 -05:00
Nolen Johnson
1e26ecae64 PL2: Use common generic arch variant
Change-Id: I5c07c98c0bd08cc642acd460c66b5b4454bc49c8
2023-11-27 23:12:16 -05:00
Nolen Johnson
9298d8373a PL2: Sort makefile and organize
Change-Id: Ia1b6cd06dcd86670289506ae6dfc570c8dc6973b
2023-11-27 23:12:16 -05:00
Nolen Johnson
43c869b500 PL2: Commonize kernel defconfig
Change-Id: Ifb58d20892a8eda5a41b883fa6c2446f736a4b9a
2023-11-27 22:48:07 -05:00
Nolen Johnson
f89caef160 PL2: Use DEVICE_PATH where appropriate
Change-Id: I414a4f46e7f1afa7bebbdbeebdb8d417cb6225cc
2023-11-27 22:47:50 -05:00
Michael Bestas
cc567bfc97 PL2: Add board-info.txt
* Fixes flashall in fastbootd

Change-Id: Iae2f33113317cfaadeff7a3610463880077c35e0
2022-09-28 23:54:29 -04:00
Felix
243ad461a9 PL2: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRS
BOARD_SEPOLICY_DIRS is deprecated.

Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2022-03-23 20:02:43 -04:00
Sebastiano Barezzi
617318ac9a PL2: Set screen density
Change-Id: I28f7c1eba1f7ebe97358542e1064eab0ad2514cc
2022-03-23 19:38:31 -04:00
Jan Altensen
09ff6a4cb2 PL2: remove nfc manifest entry
* its a vintf manifest fragment now

Change-Id: Ie81a0a3d7eb690fccb6987f16250d1c57cb1e8cd
2021-04-27 13:11:22 -04:00
Aayush Gupta
4659f5f1d6 PL2: Import manifest entry for nfc
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Ib4ced4469bea0f65de1c31694bf2efe31fdd5715
2021-04-24 06:41:23 +00:00
FUKAUMI Naoki
5d424e7e9f PL2: Use qemu.sf.lcd_density instead of ro.sf.lcd_density.
'qemu.sf.lcd_density' overrides xdpi and ydpi informations from framebuffer.
It's better to (ab)use 'qemu.sf.lcd_density' instead of patching frameworks/base.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I6a80b7b5bfea45247263569370a93c4f79543cff
(cherry picked from commit 674cca945c3a7c3c4b33a0b02e957230e361a18c)
2020-12-16 06:36:54 +01:00
Aayush Gupta
632edfa531 PL2: Fallback to cortex-a53 as proper cpu-variant
dex2oat64 otherwise spams logcat due to mis-match between instruction sets

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I5a6d65cf6b507992bf456efbd8a59562b98ec6fb
2020-12-14 10:03:26 +05:30
Aayush Gupta
4ed9be4b1c PL2: Label and address NFC sec hal and its denials
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1e1f62611ecd1bc090e4a9d87f4b0a86d1e83c2a
2020-10-06 13:51:11 -04:00
Nolen Johnson
471abae7b7 PL2: Allow neverallows
* I don't like this, but adding the required restorecon for fingerprint
  in the subsequent commit results in a single insurmountable neverallow.

* We still pass the same CTS modules as 17.1 & SafetyNet.

Change-Id: I6fa3f0cfc62b253c0f30399a3d54b26a5426b855
2020-10-06 03:51:33 +00:00
Aayush Gupta
2d9b5f9e70 PL2: Switch to vendor.prop for setting properties
Stock was having these properties in init in order to set them as per
devices. However, this tree is standalone, so there shouldn't be any
issue in moving them to a seperate prop

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1d1e55dc2fdb022909210839c72a2fa57a46e72e
2020-10-05 05:12:50 +00:00
Aayush Gupta
0ce46186ee PL2: Introduce DEVICE_PATH variable and switch to it
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: Ibfca0b547e9dee4c13a6f58a40540b1d2528b0a1
2020-10-05 05:08:13 +00:00
Raghu Varma
cfdbdccda5 PL2: Define screen density
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I8db873e4deca2ea489fed860ee7ca3f789c5b58b
2020-06-29 07:28:07 +00:00
theimpulson
8417854ce0 PL2: Define vendor partition size
Change-Id: Iab54ed43ca683c41e908f3af1468ec0c4295cd7c
2020-06-29 07:27:19 +00:00
Anton Hansson
cc68d9ded3 PL2: Set cpu "runtime variant" to cortex-a53
This makes bionic and various art tools that compile/runs cpu-specific
code choose the cortex-a53 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2020-01-20 16:32:51 +00:00
theimpulson
233fcc6d5a PL2: Use new defconfig
Change-Id: Ibbe055f4e725c9a06f7da974ad53575e2c10be4b
2019-10-16 21:02:45 +02:00
Nolen Johnson
e474fc4b23 PL2: Move partition info from sdm660-common
Change-Id: I7b9626d83515edd011a026fa28f204e658976ec1
2019-10-14 22:18:56 +00:00
theimpulson
d1d9738d1d PL2: Initial Commit 2019-10-14 22:16:47 +00:00