diff options
author | Manorit Chawdhry <m-chawdhry@ti.com> | 2024-12-17 14:24:37 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-12-31 17:55:02 -0600 |
commit | 998e00cfcedf22a19efbde116f4a9bb1bdd775f7 (patch) | |
tree | 4437e7474f4f8775f27d005332018b31ff507d3f | |
parent | 8fa355d822f0bf9e90ce80d39fff64e0f32d7695 (diff) |
drivers: firmware: ti_sci: Add DM_FLAG_PRE_RELOC to driver
Currently the driver relies on bootph flag to probe it during PRE_RELOC
stage but with the upcoming cleanup of v6.13, we don't have the bootph
property in the parent nodes anymore and ti_sci driver being one of the
parent nodes required during SPL stage would end up hampering the probe
model [0].
Add DM_FLAG_PRE_RELOC to ti_sci driver for mitigating this issue.
[0]: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/21
Suggested-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
-rw-r--r-- | drivers/firmware/ti_sci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/ti_sci.c b/drivers/firmware/ti_sci.c index 719cfa771b4..190a1e3f5fc 100644 --- a/drivers/firmware/ti_sci.c +++ b/drivers/firmware/ti_sci.c @@ -3077,6 +3077,7 @@ U_BOOT_DRIVER(ti_sci) = { .of_match = ti_sci_ids, .probe = ti_sci_probe, .priv_auto = sizeof(struct ti_sci_info), + .flags = DM_FLAG_PRE_RELOC, }; #if IS_ENABLED(CONFIG_K3_DM_FW) |