From 7842a333e06a9fbbf361e78ca9e2427e153a15da Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Mon, 26 Sep 2022 10:51:09 -0500 Subject: 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. --- bsps/aarch64/xilinx-zynqmp/include/bsp.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'bsps/aarch64/xilinx-zynqmp/include/bsp.h') 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 #include +#include #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 */ -- cgit v1.2.3