aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
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/ports/SAMA/SAMA5D2x/hal_lld.c
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/ports/SAMA/SAMA5D2x/hal_lld.c')
-rw-r--r--os/hal/ports/SAMA/SAMA5D2x/hal_lld.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
index c1fb66921..143c13493 100644
--- a/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
+++ b/os/hal/ports/SAMA/SAMA5D2x/hal_lld.c
@@ -57,7 +57,18 @@ void hal_lld_init(void) {
#if defined(SAMA5_DMA_REQUIRED)
dmaInit();
#endif
-
}
+/**
+ * @brief SAMA clocks and PLL initialization.
+ * @note All the involved constants come from the file @p board.h.
+ * @note This function should be invoked just after the system reset.
+ *
+ * @special
+ */
+void sama_clock_init(void) {
+#if !SAMA_NO_INIT
+
+#endif /* !SAMA_NO_INIT */
+}
/** @} */