Commit Graph

28 Commits

Author SHA1 Message Date
Arian
1bc49c2aff sm6150-common: Decommonize vendor security patch level
This common tree is updated further than the EOL state of
some devices now. For EOL devices we can not update the
device specific proprietary vendor blobs. Since the vendor
security patch level should be set according to the least
updated components in vendor this differs betweeen devices,
hence decommonize it so that devices with up-to-date stock
can update it.

Change-Id: I320b2f93f7b78d01393259662450f328bbef5484
2022-07-13 17:54:15 +02:00
Bruno Martins
c6daece9b1 sm6150-common: Build opensource soundtrigger HAL
Change-Id: I956d53a67841a9e1e296de6b73f08ef2efac7470
2022-06-28 00:41:07 +02:00
Sebastiano Barezzi
4ba3c81098 sm6150-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-06-28 00:23:34 +02:00
Nolen Johnson
7b73446642 sm6150-common: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507.
* We never needed this.

Change-Id: I8ec420d6264fee70a1602eecdbb4f34f2e5db3dc
2022-06-22 16:31:02 +02:00
Marc Bourgoin
d5d80a5347 sm6150-common: Drop QCOM WFD
Change-Id: I3dd591444dc54ebe3a32e0385cbfc3db6bfc5e1f
2022-06-22 16:23:58 +02:00
Georg Veichtlbauer
fc459f07b0 sm6150-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-03-17 00:14:36 +01:00
Arian
5a4c03d68e sm6150-common: sepolicy: Move xiaomi specific property labels to vendor
Change-Id: I4f2f5e2ee9b0751e3af14fbb1cd4ab93814755f8
2021-12-29 10:19:42 +00:00
Michael Bestas
3dfec47b60 sm6150-common: sepolicy: Switch to SYSTEM_EXT_{PUBLIC,PRIVATE}_SEPOLICY_DIRS
Fixes:
warning: BOARD_PLAT_PRIVATE_SEPOLICY_DIR has been deprecated.
    Use SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS instead.
warning: BOARD_PLAT_PUBLIC_SEPOLICY_DIR has been deprecated.
    Use SYSTEM_EXT_PUBLIC_SEPOLICY_DIRS instead.
Change-Id: I752602079de8ff4c5370fe3ec861b8746838d878
2021-12-29 10:18:38 +00:00
Arian
defa5a1681 sm6150-common: Update vendor security patch level from sweet RKQ1.200826.002 V12.5.8.0.RKFMIXM
Change-Id: Iba8cf8c64970058ae79f3c71d67fcbc444bfbb00
2021-12-29 09:56:49 +00:00
Bruno Martins
7e0b1d8983
sm6150-common: Migrate to Xiaomi power HAL AIDL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c
2021-06-21 23:43:14 +02:00
Nolen Johnson
7068a36b3f
sm6150-common: Simplify AVB flag logic
* AVB's `--flags 3` arguement builds a disabled VBMeta with
  disabled hashtree, so no need to set both flags individually.

Signed-off-by: raghavt20 <raghavtandon2000@gmail.com>
2021-06-18 18:34:30 +02:00
Arian
8ab4fcd576
sm6150-common: Include c2 manifest from media HAL
Change-Id: I9ea0322af97284ef4b995df185d0c827285c7194
2021-06-18 18:34:30 +02:00
Arian
d9a7822a99
sm6150-common: Update blobs from sweet V12.5.1.0.RKFMIXM
Change-Id: I1a2829db5a0e1b5640994ac36e1174b67a065628
2021-06-18 18:34:30 +02:00
Arian
783e9dfe36
sm6150-common: Update blobs from sweet V12.0.14.0
Change-Id: Ic06de82e723829339a4a38e0cf71e6f0740477eb
2021-06-18 18:32:32 +02:00
Arian
7cd101a1d1
sm6150-common: Decommonize audio HAL
Change-Id: Icb5c9aae4f0a788bd39dcbc27a1a146c12cd3de2
2021-06-18 18:32:31 +02:00
Arian
484f6e5bf2
sm6150-common: Decommonize tfa98xx amplifier
Change-Id: I2deb6d5e7c12ca077e64eb87f64567163c84a250
2021-06-18 18:32:31 +02:00
Purushottam Kushwaha
58d33f1755
sm6150-common: Enable SAP+SAP for wifi hal interface
This enables support for SAP+SAP by enabling
QC_WIFI_HIDL_FEATURE_DUAL_AP build flag.

Change-Id: I5da3045598b486fdcff56fa3e42173cf53e0aa69
CRs-Fixed: 2262243
2021-06-18 18:32:31 +02:00
Adithya R
97937bd5d5
sm6150-common: Sync earlycon kernel cmdline with CAF
Change-Id: I85067603b8fd233a35eca2195b12cc9763096ba2
2021-06-18 18:32:31 +02:00
Volodymyr Zhdanov
97896a108d
sm6150-common: Disable SF configstore
* it's finally deprecated in R
* ship disable_configstore because we have API level 29

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2021-06-18 18:32:31 +02:00
Arian
b227173d9e
sm6150-common: Update from Mi Note 10 Lite V12.1.4.0.RFNMIXM
Change-Id: I80f4200b46268a3c4bc638529c916122eb20ddba
2021-06-18 18:32:23 +02:00
Arian
f60089a8b8
sm6150-common: Don't build Image.gz-dtb for dynamic devices
Change-Id: I44727c1ec68e0c590a91aa1f853612aa3576d4fd
2021-06-18 18:21:34 +02:00
Swetha Chikkaboraiah
6c7410e835
sm6150-common: TARGET_KERNEL_APPEND_DTB handling
Set TARGET_KERNEL_APPEND_DTB flag true or false depend on
Dyanmic partition support.

Change-Id: I02a113263315e90114575cbeda076a1154f60c14
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-06-18 18:21:34 +02:00
Swetha Chikkaboraiah
07f53dd2f3
sm6150-common: BoardConfig: Add support for header version 2 of boot image
Adding support to make a bootimage with header version as 2.
This bootimage no longer has the dtbs appended to the kernel.
All the dtbs are made into a new image called dtb.img and
this image is present in the bootimage.

Change-Id: I44fe055caafc3306313e1012fb2e14d335a13337
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2021-06-18 18:21:34 +02:00
Arian
0af4075687
Revert "davinci: rootdir: Remove sleep_disabled switch during boot"
This reverts commit 5129977612.

Change-Id: Ib2c6b666191cec45992996465b2d355df5ba1c10
2021-06-18 18:21:34 +02:00
Ethan Chen
25f48a91cd
sm6150-common: Disable verity and descriptor checking
* avbtool provides an option to disable hashtree checking

Change-Id: Ib57d8ebed69a0998005563a9268f9fc736cbeaf7
2021-04-25 15:23:52 +02:00
Adithya R
e7ad18c552
sm6150-common: Correct vbmeta flags argument
* its "--flags" not "--flag"
2021-04-25 15:23:52 +02:00
Arian
6caee97828
Revert "davinci: Builds have overriding commands"
This reverts commit f74425846c.

Change-Id: I6a16e6b01c7d80b538964f0cc13af595929dcc26
2021-04-25 15:23:51 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00