From 5c29264cca2db57852cc6d8767d7d8f97731a94d Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Sat, 5 Aug 2017 15:08:07 +0000 Subject: 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 --- os/hal/boards/ATSAMA5D2_XULT/board.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os/hal/boards') 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(); +} -- cgit v1.2.3