mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
common: Move some cache and MMU functions out of common.h
These functions belong in cpu_func.h. Another option would be cache.h but that code uses driver model and we have not moved these cache functions to use driver model. Since they are CPU-related it seems reasonable to put them here. Move them over. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -52,4 +52,12 @@ int checkcpu(void);
|
||||
void smp_set_core_boot_addr(unsigned long addr, int corenr);
|
||||
void smp_kick_all_cpus(void);
|
||||
|
||||
int icache_status(void);
|
||||
void icache_enable(void);
|
||||
void icache_disable(void);
|
||||
int dcache_status(void);
|
||||
void dcache_enable(void);
|
||||
void dcache_disable(void);
|
||||
void mmu_disable(void);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user