Added Matrix clock enable in SAMA/SAMA5D2x/hal_lld.c
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10619 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
c082ec5564
commit
d7dca11fbf
|
@ -59,6 +59,17 @@
|
|||
* @notapi
|
||||
*/
|
||||
void hal_lld_init(void) {
|
||||
|
||||
/* Disabling PMC write protection. */
|
||||
pmcDisableWP();
|
||||
|
||||
/* Enabling matrix clock */
|
||||
pmcEnableH32MX();
|
||||
pmcEnableH64MX();
|
||||
|
||||
/* Enabling write protection. */
|
||||
pmcEnableWP();
|
||||
|
||||
#if defined(SAMA_DMA_REQUIRED)
|
||||
dmaInit();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue