diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2022-09-26 10:51:09 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2022-11-09 08:01:03 -0600 |
commit | 7842a333e06a9fbbf361e78ca9e2427e153a15da (patch) | |
tree | 0477af7d26b4364f545e704ffb9b1b74a771db55 /bsps/aarch64/xilinx-zynqmp/include/bsp.h | |
parent | rtems: Fix type in description (diff) | |
download | rtems-7842a333e06a9fbbf361e78ca9e2427e153a15da.tar.bz2 |
zynqmp: Add support for the CFC-400X
This adds a BSP variant for the ZynqMP BSP family to support the
Innoflight CFC-400X platform. To properly support the CFC-400X, device
trees were added to the ZynqMP platform due to both the optional
management interface as well as alternate physical configuration of the
ethernet interfaces.
Diffstat (limited to 'bsps/aarch64/xilinx-zynqmp/include/bsp.h')
-rw-r--r-- | bsps/aarch64/xilinx-zynqmp/include/bsp.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bsps/aarch64/xilinx-zynqmp/include/bsp.h b/bsps/aarch64/xilinx-zynqmp/include/bsp.h index d937a313f2..bb7df94fd1 100644 --- a/bsps/aarch64/xilinx-zynqmp/include/bsp.h +++ b/bsps/aarch64/xilinx-zynqmp/include/bsp.h @@ -51,6 +51,7 @@ #include <bsp/start.h> #include <rtems.h> +#include <rtems/termiostypes.h> #ifdef __cplusplus extern "C" { @@ -62,6 +63,10 @@ extern "C" { #define BSP_RESET_SMC #define BSP_CPU_ON_USES_SMC +#define BSP_FDT_IS_SUPPORTED +extern unsigned int zynqmp_dtb_len; +extern unsigned char zynqmp_dtb[]; + /** * @brief Zynq UltraScale+ MPSoC specific set up of the MMU. * @@ -83,6 +88,16 @@ uint32_t zynqmp_clock_i2c0(void); uint32_t zynqmp_clock_i2c1(void); +/** + * @brief Zynq UltraScale+ MPSoC specific set up of a management console. + * + * Some systems may have a management interface which needs special + * initialization. Provide in the application to override the defaults in the + * BSP. This will only be called if the interface is found in the device tree. + */ +__attribute__ ((weak)) +void zynqmp_configure_management_console(rtems_termios_device_context *base); + #ifdef __cplusplus } #endif /* __cplusplus */ |