mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-14 00:56:35 +00:00
Fix coldboot init (presentations lie)
This commit is contained in:
parent
a6c7a2c57e
commit
58036dac0b
1 changed files with 2 additions and 9 deletions
|
@ -135,15 +135,8 @@ void coldboot_init(coldboot_crt0_reloc_list_t *reloc_list, boot_func_list_t *fun
|
||||||
/* At this point, we can (and will) access functions located in .warm_crt0 */
|
/* At this point, we can (and will) access functions located in .warm_crt0 */
|
||||||
translate_warmboot_func_list(reloc_list, func_list);
|
translate_warmboot_func_list(reloc_list, func_list);
|
||||||
|
|
||||||
/*
|
/* Initialize DMA controllers, and write to AHB_GIZMO_TZRAM. */
|
||||||
From https://events.static.linuxfound.org/sites/events/files/slides/slides_17.pdf :
|
/* TZRAM accesses should work normally after this point. */
|
||||||
Caches may write back dirty lines at any time:
|
|
||||||
- To make space for new allocations
|
|
||||||
- Even if MMU is off
|
|
||||||
- Even if Cacheable accesses are disabled (caches are never 'off')
|
|
||||||
*/
|
|
||||||
func_list->funcs.flush_dcache_all();
|
|
||||||
func_list->funcs.invalidate_icache_all();
|
|
||||||
func_list->funcs.init_dma_controllers();
|
func_list->funcs.init_dma_controllers();
|
||||||
|
|
||||||
configure_ttbls();
|
configure_ttbls();
|
||||||
|
|
Loading…
Reference in a new issue