fix return logic in apps and rpmsg buffer value fix apps logic in main to return proper value fix rpc_demo buffer initialization when calling rpmsg_retarget_send reformat code and add debug prints Signed-off-by: Sam Sortais <sam.sortais@xilinx.com> Signed-off-by: Wendy Liang <jliang@xilinx.com>
protect header file and reformat/cleanup code protect rsc_table.h from multiple inclusion add/rm comments and include files rename funcs/var to match zynq/zynqmp code Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
add header file for common constants and cleanup. Add platform_info.h to hold common constants. Protect rsc_table.h from multiple inclusion. Replace numerical values with common named constants. Remove unneeded definitions. Signed-off-by: Sam Sortais <sam.sortais@xilinx.com>
zynq: fix resource table and linker script for v4.9 kernel This patch fix the following to make Zynq work with v4.9 kernel * remove carveout resource, as we do support master to allocate firmware memory, instead we need to predefine the firmware memory for this platform. * use proc_mem to declare the remote memory * fix the linker script not to include the memory for vrings and shared buffers. Signed-off-by: Wendy Liang <jliang@xilinx.com>
remoteproc: driver: zynq: mark notified when enabling interrupt This patch is a workaround. The master may already send the notify before the remote boots. The Zynq platform should be able not get notified by the interrupt before it is enabled. Signed-off-by: Wendy Liang <jliang@xilinx.com>
apps: machine: zynqmp_r5: remove carveout resource carveout resource is used to speicfy memory carved out from the master. On ZynqMP_r5 platform, for firmware, the memory is specified in the ELF. And at the moment, we do not support allocating firmware memory from master on this platform. Signed-off-by: Wendy Liang <jliang@xilinx.com>
remoteproc: drivers: update enable_interrupt() Update enable_interrupt() for all the drivers to use new hil proc enable_interrupt API. Signed-off-by: Wendy Liang <jliang@xilinx.com>