u-boot-brain/drivers/remoteproc
Suman Anna 1e53d5b585 remoteproc: k3-dsp: Add a sanity check for DSP boot address alignment
The DSP remote processors on K3 SoCs require a boot register to be
programmed with a boot address, and these boot addresses need to be
aligned on certain address boundaries. The current code does not have
any error checks, and relies on the System Firmware to perform the
checking. Add logic to perform this sanity check within the remoteproc
driver itself to detect these anomalies specifically, and print a
meaningful trace. This avoids the cumbersome debug of root-causing
such failures from the corresponding TI-SCI failure.

The C66x and C71x DSP cores have different alignment needs and are
as follows:
	C66x DSP = 1 KB (0x400)
	C71x DSP = 2 MB (0x200000)

Signed-off-by: Suman Anna <s-anna@ti.com>
2020-03-16 12:32:47 +05:30
..
k3_system_controller.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
Kconfig remoteproc: Introduce K3 C66 and C71 remoteproc driver 2019-10-11 10:07:34 -04:00
Makefile remoteproc: Introduce K3 C66 and C71 remoteproc driver 2019-10-11 10:07:34 -04:00
rproc-elf-loader.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
rproc-uclass.c remoteproc: Allow for individual remoteproc initialization 2018-09-11 08:32:55 -04:00
sandbox_testproc.c remoteproc: ops: Add elf section size as input parameter to device_to_virt api 2019-10-11 10:07:33 -04:00
stm32_copro.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ti_k3_arm64_rproc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ti_k3_dsp_rproc.c remoteproc: k3-dsp: Add a sanity check for DSP boot address alignment 2020-03-16 12:32:47 +05:30
ti_k3_r5f_rproc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
ti_power_proc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ti_sci_proc.h remoteproc: tisci_proc: Add helper api for controlling core power domain 2019-10-11 10:07:34 -04:00