summaryrefslogtreecommitdiff
path: root/source/hal/source/platform/mps3/source/platform_drivers.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/hal/source/platform/mps3/source/platform_drivers.c')
-rw-r--r--source/hal/source/platform/mps3/source/platform_drivers.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/source/hal/source/platform/mps3/source/platform_drivers.c b/source/hal/source/platform/mps3/source/platform_drivers.c
index 73b388b..1f55bb9 100644
--- a/source/hal/source/platform/mps3/source/platform_drivers.c
+++ b/source/hal/source/platform/mps3/source/platform_drivers.c
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -40,6 +40,10 @@
#endif /* ARM_NPU */
+#if VSI_ENABLED
+#include "vsi_mps3.h"
+#endif /* VSI_ENABLED */
+
/**
* @brief Checks if the platform is valid by checking
* the CPU ID for the FPGA implementation against
@@ -94,6 +98,12 @@ int platform_init(void)
#endif /* ARM_NPU */
+#if VSI_ENABLED
+ if (0 != (err = vsi_init())) {
+ return err;
+ }
+#endif /* VSI_ENABLED */
+
/* Print target design info */
info("Target system design: %s\n", s_platform_name);
return 0;