mpfs: clockconfig: add clock initialiation sequence

Add clock initialization sequence especially for systems
containing no bootloader.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
This commit is contained in:
Eero Nurkkala
2021-10-07 12:16:05 +03:00
committed by Xiang Xiao
parent bc72ccdf6a
commit c34b9620db
2 changed files with 586 additions and 11 deletions
File diff suppressed because it is too large Load Diff
+3 -1
View File
@@ -97,9 +97,11 @@ void __mpfs_start(uint32_t mhartid)
*dest++ = *src++;
}
/* Setup PLL */
/* Setup PLL if not already provided */
#ifdef CONFIG_MPFS_BOOTLOADER
mpfs_clockconfig();
#endif
/* Configure the UART so we can get debug output */