aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2021-01-05 13:42:00 +0100
committerAlessandro Astone <ales.astone@gmail.com>2021-10-10 01:28:30 +0200
commit8ffa2528498d9a2c0ab292b2a67dfbcb0f987e21 (patch)
treec3556a3846c186d5effbdc5cc6706dc28849213e
parent83e103c530a6c898209bfcab4436cce29cc892b2 (diff)
sm8250-common: Switch to QTI bootctrl HAL
Change-Id: Ie5079fd4c40cb1f7414f2cba9f98d350f03047d8
-rw-r--r--Android.bp2
-rw-r--r--bootctrl/Android.bp7
-rw-r--r--common.mk6
3 files changed, 11 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index c2ab30c..dfecee0 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,3 @@
soong_namespace {
- imports: ["hardware/qcom/bootctrl"],
+ imports: ["hardware/qcom-caf/bootctrl"],
}
diff --git a/bootctrl/Android.bp b/bootctrl/Android.bp
index 37242d1..d0cead8 100644
--- a/bootctrl/Android.bp
+++ b/bootctrl/Android.bp
@@ -19,3 +19,10 @@ cc_library {
defaults: ["bootctrl_hal_defaults"],
static_libs: ["libgptutils.asus_kona"],
}
+
+cc_library_shared {
+ name: "android.hardware.boot@1.1-impl-qti",
+ stem: "android.hardware.boot@1.0-impl-1.1-qti",
+ defaults: ["android.hardware.boot@1.1-impl-qti_defaults"],
+ static_libs: ["libgptutils.asus_kona"],
+}
diff --git a/common.mk b/common.mk
index 520936b..503f466 100644
--- a/common.mk
+++ b/common.mk
@@ -78,9 +78,9 @@ PRODUCT_PACKAGES += \
# Boot control
PRODUCT_PACKAGES += \
- android.hardware.boot@1.0-impl \
- android.hardware.boot@1.0-impl.recovery \
- android.hardware.boot@1.0-service \
+ android.hardware.boot@1.1-impl-qti \
+ android.hardware.boot@1.1-impl-qti.recovery \
+ android.hardware.boot@1.1-service \
bootctrl.kona.recovery \
bootctrl.kona