Branch: refs/heads/main Home: https://github.com/OpenAMP/open-amp Commit: babba1bca0cb446978fc7f8deb8c4b084ce9dbc3 https://github.com/OpenAMP/open-amp/commit/babba1bca0cb446978fc7f8deb8c4b084... Author: Andrew Davis afd@ti.com Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths: M lib/remoteproc/remoteproc.c
Log Message: ----------- remoteproc: Assign ops and priv to rproc struct in init by default
These need to be set in the rproc specific init() callback currently, instead set them before calling the callback to make doing that in the callback optional.
They can still be overwritten if needed in the init() callback but if this is not needed as in some simple cases, then the callback is not needed. Like other functions here, make this optional if no additional modifications to the rproc struct are needed.
Signed-off-by: Andrew Davis afd@ti.com
Commit: e03d09a3fb0807ad5567f4845f68bbb798f7fd58 https://github.com/OpenAMP/open-amp/commit/e03d09a3fb0807ad5567f4845f68bbb79... Author: Andrew Davis afd@ti.com Date: 2024-05-16 (Thu, 16 May 2024)
Changed paths: M apps/examples/load_fw/zynqmp_apu_lcm_rproc_example.c M apps/examples/load_fw/zynqmp_r5_lcm_rproc_example.c M apps/examples/load_fw/zynqmp_rpu_lcm_rproc_example.c M apps/machine/microblaze_generic/zynqmp_mb_a53_rproc.c M apps/machine/zynq7/zynq_a9_rproc.c M apps/machine/zynqmp/zynqmp_linux_r5_proc.c M apps/machine/zynqmp_r5/zynqmp_r5_a53_rproc.c M apps/system/linux/machine/generic/platform_info.c
Log Message: ----------- apps: Remove manual assignment of ops and priv to rproc struct
This is handled by default, remove instances from apps. In cases where there is nothing left in the init() callback remove it as it is now optional.
Signed-off-by: Andrew Davis afd@ti.com
Compare: https://github.com/OpenAMP/open-amp/compare/bf8722873052...e03d09a3fb08
To unsubscribe from these emails, change your notification settings at https://github.com/OpenAMP/open-amp/settings/notifications