u-boot/drivers/firmware
Neha Malcom Francis a9c2b7326b drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up
When setting up boot media to load the TIFS binary in legacy boot flow
(followed by J721E), get_timer() is called which calls dm_timer_init()
which then gets the tick-timer: mcu_timer0. mcu_timer0 uses k3_clks
(clock controller) and k3_pds (power controller) from the dmsc node that
forces probe of the ti_sci driver of TIFS that hasn't been loaded yet!
Running ti_sci_cmd_get_revision from the probe leads to panic since no
TIFS and board config binaries have been loaded yet. Resolve this by
moving ti_sci_cmd_get_revision to ti_sci_get_handle_from_sysfw as a
common point of invocation for both legacy and combined boot flows.

Before doing this, it is important to go through whether any sync points
exist where revision is needed before ti_sci_get_handle_from_sysfw is
invoked. Going through the code along with boot tests on both flows
ensures that there are none.

Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
2023-10-04 14:16:01 -04:00
..
arm-ffa arm_ffa: use debug logs 2023-08-17 12:29:21 -04:00
scmi firmware: scmi: return a right errno for SCMI status code 2023-07-14 15:21:07 -04:00
firmware-sandbox.c dm: test: Add "/firmware" node scan test 2018-09-29 11:49:35 -06:00
firmware-uclass.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
firmware-zynqmp.c firmware: zynqmp: Add support to check feature 2023-09-21 13:20:10 +02:00
Kconfig arm_ffa: introduce Arm FF-A support 2023-08-08 10:22:03 -04:00
Makefile firmware: add SCMI agent uclass 2020-09-30 11:55:23 -04:00
psci.c firmware: psci: enable DM_FLAG_PRE_RELOC 2023-04-25 15:31:28 -04:00
ti_sci.c drivers: firmware: ti_sci: Get SCI revision only if TIFS/SYSFW is up 2023-10-04 14:16:01 -04:00
ti_sci.h firmware: ti_sci: fix typo in boot authentication message name 2023-01-18 13:11:13 -05:00
ti_sci_static_data.h board: ti: introduce the basic files needed to support the am62a 2022-12-09 14:10:28 -05:00