Commit graph android_device_motorola_sm6.../BoardConfigCommon.mk
Author SHA1 Message Date
Michael Bestas
7ceb975941
Revert "sm6375-common: Include vendor/debugfs.config"
debugfs is already disabled in vendor/holi-qgki_defconfig

This reverts commit 78087568d0.

Change-Id: I629a24df4bba7b609baf1048d2a3e46330bafa2d
2025-10-17 20:58:52 +03:00
Yumi Yukimura
5bec1538f6
sm6375-common: Cleanup more flags
These are gone after bp conversion for display and media

Change-Id: I1169adf12d717417f5f328ebbcc01ecc9b911889
2025-09-10 16:01:09 +03:00
Sebastiano Barezzi
4fbfbf2c73
sm6375-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2025-09-10 15:58:12 +03:00
Michael Bestas
b467a53813
sm6375-common: Remove no longer used display flags
Change-Id: Ifc4e10703d3424607b9dc8bcc8e417d1c88cc2f3
2025-09-10 15:57:00 +03:00
LuK1337
dbcbeb94e6
sm6375-common: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688
2025-08-12 22:45:49 +03:00
Michael Bestas
09e54cd7b1
sm6375-common: Remove more 802.11ax leftovers
See I5832187b58d0b2eb277cf2ba7678b3bfa85c0904

Change-Id: I05912a158167aa8f156d7ee097ce86ab4606f976
2025-07-21 01:43:11 +03:00
Andrew Hexen
2515fdd533
sm6375-common: don't reserve space on vendor
* this breaks overlayfs

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3efe0cd015ce46b682fd34261ba971f69517be9a
2025-05-14 02:48:24 +03:00
basamaryan
1e53e4f534
sm6375-common: Use hardware/motorola/sepolicy
Change-Id: I3db249a436d258867d431b6a0e837d9053b85ddd
2025-05-05 10:32:40 +03:00
Michael Bestas
d4e4e2e750
sm6375-common: Add awinic audio amplifier
Change-Id: I0ea7e8ff23a6719a3b61a66b6886bfa7119c211a
2025-05-01 05:38:47 +03:00
Cosmin Tanislav
c242870ae9
sm6375-common: remove QCOM bluetooth board flags
TARGET_FWK_SUPPORTS_FULL_VALUEADDS is only used in
audio HAL qssi makefile, and is not relevant to AOSP.

BOARD_HAVE_BLUETOOTH_QCOM is used in libbt-vendor,
which does not exist on stock.

Change-Id: I2fe74386628630998c1428d4a238383c12cb9575
2025-04-28 22:35:37 +03:00
Michael Bestas
148200ee95
sm6375-common: Switch to lineage defconfig fragment
moto-holi.config is already included in holi-qgki_defconfig

Change-Id: I52b90fe52a54f9aeb3315338e956ec395686b2c7
2025-04-06 03:41:13 +03:00
Michael Bestas
2ae3ac998a
Revert "sm7325-common: enable lineage health service"
This reverts commit 321fbb3d28.

Reason for revert: Not all charger drivers have the sysfs implemented,
this needs to be revisited later.

Change-Id: Ie8800faadf0e118d7bc05edc0093960031dbd8d3
2025-04-01 20:59:43 +03:00
Michael Bestas
d289c023f0
sm6375-common: Unset BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE
We don't need this

Change-Id: I3ae4826687c8f11730636f177501ea31e419d84e
2025-04-01 20:59:06 +03:00
Michael Bestas
47cf87a3b5
sm6375-common: Inherit common motorola FCM
Change-Id: Ie7bfd47c8727ebdc961ab31c8cf1b71803a5eff3
2025-03-23 14:02:44 +02:00
Michael Bestas
3f0f9f4593
sm6375-common: Update vendor properties from fogos
Properties that weren't common between bangkk and fogos have been
moved to devices.
Eliminate system.prop while we are at it.

Change-Id: If63c83ecd1a146f31a04b9ee4b3980d6c075eabe
2025-03-23 14:02:44 +02:00
Michael Bestas
95ee7d018a
sm6375-common: Drop manifest_nfc.xml
Devices using NFC will keep the entry in their tree and set it up
properly for SKU specific NFC support.

Change-Id: I0ba4c0e5e626ce41430e325432d1b5f223b2c89c
2025-03-23 14:02:44 +02:00
Michael Bestas
7633b19f08
sm6375-common: Remove persist.demo.hdmirotationlock
It defaults to false

Change-Id: I3514e01860c0fef7b1fb1da2d6302740a89244d2
2025-03-15 02:17:26 +02:00
Michael Bestas
7f6573e8df
sm6375-common: Sort cmdline & selectively update from fogos
Change-Id: I76af99a266c1b0af7b67533d098d9b7313c1696f
2025-03-15 02:17:26 +02:00
LuK1337
78087568d0
sm6375-common: Include vendor/debugfs.config
This disables the following kernel configs:
* CONFIG_DEBUG_FS
* CONFIG_PAGE_OWNER

Change-Id: Idbf74e3dee4dccff4708462271e79374e28449ae
2025-03-13 07:54:18 +02:00
Michael Bestas
a67d135c3f
sm6375-common: lahaina -> holi
Change-Id: Ic6dd7c6ae1e2477b288fc0c8b0aa3537a94f779d
2025-03-13 07:54:18 +02:00
Michael Bestas
6447da04f6
sm7325-common: Rebrand to sm6375-common
Change-Id: I80833f122554920452025b821c7799a09a91c1c7
2025-03-13 07:54:17 +02:00
Michael Bestas
eb8007735a sm7325-common: Drop LineageOS copyright years
Change-Id: Ia2dfdb083cb17b573a60f818c72d1500d9d63df2
2025-03-04 14:16:39 +00:00
Nolen Johnson
e695e24457
sm7325-common: Don't declare BOARD_VENDOR
* Only matters when it differs from the device OEM.

Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2025-03-03 12:35:37 +02:00
Michael Bestas
b0f2a69460
sm7325-common: Get rid of TARGET_RECOVERY_DEVICE_DIRS
Change-Id: Id32dc00987178a6e9b0fd7fac0f4598f1b3be7e3
2025-03-01 00:38:11 +02:00
Michael Bestas
cbef6d2166
sm7325-common: Switch to SPDX copyright & update dates
Change-Id: I1adc8afc557a0d8a7379ec24589ea68b2391d147
2025-02-28 04:06:01 +02:00
Sevenrock
0ed1cb8ec8 Revert "sm8250-common: add a framework manifest file"
This reverts commit f1ae7f8284.

Remove remnants of qccsyshal.

Change-Id: If47d3df68bb02c497b5b70e49e347bcdee8c7efb
2025-02-13 17:07:26 -05:00
Cosmin Tanislav
321fbb3d28 sm7325-common: enable lineage health service
/sys/class/power_supply/battery/device -> '../../../soc:mmi,discrete-charging/force_charger_suspend'

Change-Id: I6446876aca021bf3729609f3cad8fa5d9755e785
2025-02-06 17:39:06 -07:00
Michael Bestas
ea83ef4d47 sm7325-common: Decommonize AVB rollback index and correct location
Change-Id: I5e17d7a669cea1652620441ba5daae65b046d3e9
2025-01-21 16:34:03 -05:00
Adithya R
695b45271c sm7325-common: Switch to dot product CPU variant
* dubai:/ $ cat /proc/cpuinfo | grep -m 1 Features
   Features: fp asimd evtstrm aes pmull sha1 sha2 crc32
   atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp

 * From this, it's evident that our CPU (Snapdragon 778G+)
   supports all the features of ARMv8.2-DotProd [1].
   Moreover AOSP sets this arch variant in their generic
   cortex-a55 ART target as well [2]. This should unlock
   some optimizations in different code paths.

[1]: https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
[2]: https://android.googlesource.com/device/generic/art/+/refs/heads/master/armv8_cortex_a55/BoardConfig.mk#23

Change-Id: I484bb2bcc181c62e29c04bc6e467e5edea8ac0d8
2025-01-21 11:56:59 -05:00
Michael Bestas
167ee81c54
sm7325-common: gps/location: Convert remaining Android.mk to bp
Change-Id: I75e6af92795fe755a48557aa06106406b14c6750
2025-01-19 20:34:06 +02:00
Marc Bourgoin
04b45dcda0 sm7325-common: Guard android.hardware.nfc HIDL entry
tundra uses snxxx NFC AIDL HAL which doesn't use android.hardware.nfc,
so let's guard it so we don't have to decommonize it for just one device

Change-Id: Ic8d78a401c614ea4b19c7fccdc7f472bc67534d6
2024-12-22 11:06:20 -07:00
Bruno Martins
3e4cea0e32 sm7325-common: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-12-22 00:05:14 -07:00
Aaron Kling
0f492139bb sm7325-common: Re-enable broken dup rules check
All failures of this have been resolved

Change-Id: I56a923ac90b98e63c093c8cb65cb1059dde57c49
2024-11-14 22:39:39 -07:00
Aaron Kling
b153159616 sm7325-common: Remove elf files in copy files check
New extract files uses packages instead of copy files

Change-Id: I337c07d13bd350958d4808e1693cc6e03753a96c
2024-11-10 18:09:19 -07:00
Cosmin Tanislav
c117c2ec85 sm7325-common: remove additional kernel flags
LLVM=1 is passed inside BoardConfigKernel.mk, and DTC is passed inside
kernel.mk

Change-Id: Ie80943cee67ca7447d50d76b59072e7d445bf979
2024-10-15 03:44:48 +00:00
Michael Bestas
375003228b sm7325-common: Compile the kernel without GCC
Change-Id: I882c0d8600f88c1bb939c7ee247230ec5e70338a
2024-10-15 03:44:42 +00:00
Marc Bourgoin
dd7d18c0c2 sm7325-common: Fix more property selinux denials
Change-Id: Icd4e387b994819659e26feeeefee6bf0ff604ee8
2024-09-25 20:42:36 -06:00
Bruno Martins
a38579c664 sm7325-common: Inherit from QTI FCM
Change-Id: I0bdd4d63b60a1e29cdd69e71f7268932a105c16b
2024-09-25 20:42:36 -06:00
Michael Bestas
27d036b329 sm7325-common: Bump LOC_HIDL_VERSION to 4.2
Change-Id: Ic961685f4a1887a2053ff08455ea3c3d0958ac86
2024-09-25 20:42:36 -06:00
Bruno Martins
20748cc7e9
sm7325-common: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-02 04:47:52 -07:00
basamaryan
4689a61aeb sm7325-common: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-06-20 11:31:48 -04:00
Cole Faust
189b622ad1 sm7325-common: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-03-10 23:26:03 +00:00
Marc Bourgoin
8d398dc589 sm7325-common: Drop vAB move recovery to vendor_boot
Checking stock dubai boot image it has recovery there and not vendor_boot,
so to keep things similar let's do the same here

Change-Id: I86e89ec97a8ce9b4f71705ed526093f37f4331e6
2024-01-31 00:48:37 +00:00
Michael Bestas
7c62934d8a sm7325-common: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-01-06 22:21:54 -05:00
DillerOFire
45b24bc3d8 sm7325-common: Nuke obsolete BOARD_BUILD_SYSTEM_ROOT_IMAGE
Change-Id: I8fafc8952e2b3bd535309a6aad035f02f1e00b14
2023-11-20 08:21:33 -07:00
Bruno Martins
1f54f6d684 sm7325-common: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2023-11-01 10:58:30 -04:00
Andrew Hexen
56d93f30a0
sm7325-common: symlink vendor/fsg to system_root
* Seems to be an issue where if modemst1/2 (efs) is wiped modem only looks for fsg to rebuild efs in the root_directory.

* Even though this isn't correct it should allow radio to be easily flashed during future firmware upgrades as the stock radio.img is a container which flashes fsg/modem then passes the command to wipe modemst*

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: Ic7acabbe16d66740b3aee414be60c24d3a0de43d
2023-10-26 06:09:48 -07:00
electimon
2120f3cd4a sm7325-common: Remove unneeded cmdline properties
* HAB properties are appended by the bootloader,
  as well as console. RTB filter is a debug property.

Change-Id: If5347a00492c6782f17355b5221c033987475b09
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
electimon
8de4fbe8b1 sm7325-common: Rename manifest_yupik.xml to manifest.xml
* CAF only does this because they use one device tree
  for all 3 SoCs, vendor/qcom/lahaina. We use one -common
  tree with device trees inheriting it. There is no need
  to have manifest_yupik.xml.

Change-Id: I133f19725d523ce2e4acb17114b687f9e5757019
Signed-off-by: electimon <electimon@gmail.com>
2023-04-23 00:45:15 -06:00
Bruno Martins
071491f492 sm7325-common: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2023-02-14 10:58:51 -05:00