diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-01-26 00:24:18 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-02-04 15:52:41 +0100 |
commit | 93ef44fc4e15ee621ef0882c80752590af89188d (patch) | |
tree | 85ba2d5307761cbc9cc4b933025458bfaa8aee91 /arch/arm/cpu/mmu-early.h | |
parent | 02c0f0bfc8a7ec0070402c73290a18e0e7f5efbe (diff) | |
download | barebox-93ef44fc4e15ee621ef0882c80752590af89188d.tar.gz barebox-93ef44fc4e15ee621ef0882c80752590af89188d.tar.xz |
ARM: Factor out early mmu code
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>
Diffstat (limited to 'arch/arm/cpu/mmu-early.h')
-rw-r--r-- | arch/arm/cpu/mmu-early.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/mmu-early.h b/arch/arm/cpu/mmu-early.h new file mode 100644 index 0000000000..af21f52131 --- /dev/null +++ b/arch/arm/cpu/mmu-early.h @@ -0,0 +1,6 @@ +#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 */ |