sam4e8e: Move the sam4 cache setup to its own sam4_cache.c file

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-12-26 11:36:49 -05:00
parent a978167e39
commit e70b70fb75
3 changed files with 17 additions and 7 deletions

View File

@@ -43,12 +43,6 @@ int
main(void)
{
SystemInit();
// Enable Cache
if (!(CMCC->CMCC_SR & CMCC_SR_CSTS))
CMCC->CMCC_CTRL = CMCC_CTRL_CEN;
// Start main loop
sched_main();
return 0;
}