aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/boards
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2017-08-05 15:08:07 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2017-08-05 15:08:07 +0000
commit5c29264cca2db57852cc6d8767d7d8f97731a94d (patch)
treeca58343ec34cb4a113c5aa6d3fdcd5bc1a2395c5 /os/hal/boards
parentb65fe95a497a60c30c385e51d3e32cc4c3dc7f8a (diff)
downloadChibiOS-5c29264cca2db57852cc6d8767d7d8f97731a94d.tar.gz
ChibiOS-5c29264cca2db57852cc6d8767d7d8f97731a94d.tar.bz2
ChibiOS-5c29264cca2db57852cc6d8767d7d8f97731a94d.zip
Started Clock tree development on SAMA5 port
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10354 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/boards')
-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();
+}