aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards/ATSAMA5D2_XULT/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/boards/ATSAMA5D2_XULT/board.c')
-rw-r--r--os/hal/boards/ATSAMA5D2_XULT/board.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/os/hal/boards/ATSAMA5D2_XULT/board.c b/os/hal/boards/ATSAMA5D2_XULT/board.c
index fe68bf6b6..b9b45f872 100644
--- a/os/hal/boards/ATSAMA5D2_XULT/board.c
+++ b/os/hal/boards/ATSAMA5D2_XULT/board.c
@@ -15,3 +15,13 @@
*/
#include "hal.h"
+
+/**
+ * @brief Early initialization code.
+ * @details This initialization must be performed just after stack setup
+ * and before any other initialization.
+ */
+void __early_init(void) {
+
+ sama_clock_init();
+}