Move early mmu code to a separate file so that it can be used from the pbl and the regular image. Disabling the mmu can be dropped since the regular mmu code is now able to pickup an enabled mmu. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
7 lines
170 B
C
7 lines
170 B
C
#ifndef __ARM_CPU_MMU_EARLY_H
|
|
#define __ARM_CPU_MMU_EARLY_H
|
|
|
|
void mmu_early_enable(uint32_t membase, uint32_t memsize, uint32_t ttb);
|
|
|
|
#endif /* __ARM_CPU_MMU_EARLY_H */
|