diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2019-06-07 19:24:43 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-07-26 21:49:22 -0400 |
commit | c0669d28ee5dc06a372e39191d9643de8aa62e9e (patch) | |
tree | f17cdc423d98b538bad235dab7d5610eb63f4bb5 /arch/arm | |
parent | f9380a730d925f9602a7fa8d7d7e861acfb704fd (diff) |
armv7R: k3: Release all the exclusive devices
Release all the exclusive devices held by SPL.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-k3/common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-k3/common.c b/arch/arm/mach-k3/common.c index ee84d44de8..4e7fe2076c 100644 --- a/arch/arm/mach-k3/common.c +++ b/arch/arm/mach-k3/common.c @@ -30,8 +30,12 @@ struct ti_sci_handle *get_ti_sci_handle(void) #ifdef CONFIG_SYS_K3_SPL_ATF void __noreturn jump_to_image_no_args(struct spl_image_info *spl_image) { + struct ti_sci_handle *ti_sci = get_ti_sci_handle(); int ret; + /* Release all the exclusive devices held by SPL before starting ATF */ + ti_sci->ops.dev_ops.release_exclusive_devices(ti_sci); + /* * It is assumed that remoteproc device 1 is the corresponding * Cortex-A core which runs ATF. Make sure DT reflects the same. |