ARM: add support for generic early_ioremap/early_memremap
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 1 Sep 2015 06:59:28 +0000 (08:59 +0200)
committerard <ard.biesheuvel@linaro.org>
Sun, 13 Dec 2015 18:18:28 +0000 (19:18 +0100)
commit2937367b8a4b0d46ce3312cb997e4a240b02cf15
tree44454d1cfd965482d661c92d17264d6affa77a6a
parentf7d924894265794f447ea799dd853400749b5a22
ARM: add support for generic early_ioremap/early_memremap

This enables the generic early_ioremap implementation for ARM.

It uses the fixmap region reserved for kmap. Since early_ioremap
is only supported before paging_init(), and kmap is only supported
afterwards, this is guaranteed not to cause any clashes.

Tested-by: Ryan Harkin <ryan.harkin@linaro.org>
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm/Kconfig
arch/arm/include/asm/Kbuild
arch/arm/include/asm/fixmap.h
arch/arm/kernel/setup.c
arch/arm/mm/ioremap.c
arch/arm/mm/mmu.c