diff options
author | Gedare Bloom <gedare@rtems.org> | 2021-06-25 12:43:28 -0600 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2021-06-25 13:02:38 -0600 |
commit | 8f870a359387bdf7e73bc5afce373c91b66f0dc2 (patch) | |
tree | 37ac12ee0d15b0d144255ce311efdf3bb2043988 /rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | |
parent | builder.py: Only disable tests if they are there (diff) | |
download | rtems-libbsd-8f870a359387bdf7e73bc5afce373c91b66f0dc2.tar.bz2 |
aarch64/nexus: add GEM definitions for Versal
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-nexus-bus.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-nexus-bus.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-nexus-bus.h b/rtemsbsd/include/machine/rtems-bsd-nexus-bus.h index 5902c58c..50a43873 100644 --- a/rtemsbsd/include/machine/rtems-bsd-nexus-bus.h +++ b/rtemsbsd/include/machine/rtems-bsd-nexus-bus.h @@ -409,6 +409,17 @@ extern "C" { #define RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM3(_irq) \ RTEMS_BSD_DRIVER_XILINX_ZYNQ_CGEM(3, 0xff0e0000, _irq) #endif /* RTEMS_BSD_DRIVER_XILINX_ZYNQMP_CGEM3 */ +/* + * Versal has a similar GEM as the CGEM. This should work for now. + */ +#if !defined(RTEMS_BSD_DRIVER_XILINX_VERSAL_GEM0) + #define RTEMS_BSD_DRIVER_XILINX_VERSAL_GEM0(_irq) \ + RTEMS_BSD_DRIVER_XILINX_ZYNQ_CGEM(0, 0xff0c0000, _irq) +#endif /* RTEMS_BSD_DRIVER_XILINX_VERSAL_GEM0 */ +#if !defined(RTEMS_BSD_DRIVER_XILINX_VERSAL_GEM1) + #define RTEMS_BSD_DRIVER_XILINX_VERSAL_GEM1(_irq) \ + RTEMS_BSD_DRIVER_XILINX_ZYNQ_CGEM(1, 0xff0d0000, _irq) +#endif /* RTEMS_BSD_DRIVER_XILINX_VERSAL_GEM1 */ /* * Designware/Synopsys Ethernet MAC Controller. |