Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3a95b905 authored by Yongqin Liu's avatar Yongqin Liu Committed by Greg Kroah-Hartman
Browse files

ANDROID: abi: update for hikey960



Leaf changes summary: 9 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 9 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

9 Added functions:

  [A] 'function void tcpm_cc_change(tcpm_port*)'
  [A] 'function void tcpm_pd_hard_reset(tcpm_port*)'
  [A] 'function void tcpm_pd_receive(tcpm_port*, const pd_message*)'
  [A] 'function void tcpm_pd_transmit_complete(tcpm_port*, tcpm_transmit_status)'
  [A] 'function tcpm_port* tcpm_register_port(device*, tcpc_dev*)'
  [A] 'function void tcpm_tcpc_reset(tcpm_port*)'
  [A] 'function void tcpm_unregister_port(tcpm_port*)'
  [A] 'function void tcpm_vbus_change(tcpm_port*)'
  [A] 'function usb_role usb_role_switch_get_role(usb_role_switch*)'

and fix insmod failures reported like the following when use the gki kernel:
    [    5.829264] hisi_hikey_usb: Unknown symbol usb_role_switch_get_role (err -2)

    [    7.989462] tcpci: Unknown symbol tcpm_cc_change (err -2)
    [    7.994896] tcpci: Unknown symbol tcpm_tcpc_reset (err -2)
    [    8.000384] tcpci: Unknown symbol tcpm_vbus_change (err -2)
    [    8.005961] tcpci: Unknown symbol tcpm_pd_receive (err -2)
    [    8.011462] tcpci: Unknown symbol tcpm_pd_hard_reset (err -2)
    [    8.017221] tcpci: Unknown symbol tcpm_pd_transmit_complete (err -2)
    [    8.023576] tcpci: Unknown symbol tcpm_register_port (err -2)
    [    8.029323] tcpci: Unknown symbol tcpm_unregister_port (err -2)

Via the following commands:
    $ ./build/abi/bootstrap
    <follow instructions for adding needed path variables>
    $ BUILD_CONFIG=common/build.config.hikey960 build/build_abi.sh --update --print-report
    $ BUILD_CONFIG=common/build.config.gki.aarch64 build/build_abi.sh --update --print-report

Test: boot tested with hikey960 android11 builds

Fixes: bb765ef8427e ("ANDROID: GKI: enable QCOM and HISI UFS drivers")
Fixes: 5625a6460e96 ("ANDROID: GKI: enable CONFIG_TYPEC_TCPM")
Fixes: f82716d6 ("ANDROID: hikey960_gki.fragment: Remove UFS and USB bits")

Signed-off-by: default avatarYongqin Liu <yongqin.liu@linaro.org>
Change-Id: I700cc535d7281ea43b72a5268493656151c77d3d
parent 1d65a4b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment