Skip to content

Commit

Permalink
apps: zynqmp: Add Versal_net IPI values.
Browse files Browse the repository at this point in the history
Enable Linux demos to run on Versal_net by updating the IPI values that
are specific to this hardware platform.

Signed-off-by: Ben Levinsky <ben.levinsky@amd.com>
  • Loading branch information
bentheredonethat authored and arnopo committed May 22, 2023
1 parent accac4d commit 1697a15
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion apps/machine/zynqmp/platform_info.c
Expand Up @@ -36,7 +36,14 @@
* one CPU in the example. We set the CPU
* index to 0.
*/
#ifdef versal
#ifdef VERSAL_NET
#ifndef IPI_CHN_BITMASK
#define IPI_CHN_BITMASK 0x08
#endif /* !IPI_CHN_BITMASK */
#ifndef IPI_DEV_NAME
#define IPI_DEV_NAME "eb360000.ipi"
#endif /* !IPI_DEV_NAME */
#elif defined(versal)
#ifndef IPI_CHN_BITMASK
#define IPI_CHN_BITMASK 0x08 /* IPI channel bit mask for IPI
* from/to RPU0 */
Expand Down

0 comments on commit 1697a15

Please sign in to comment.