[Linaro-uefi] [PATCH 6/8] ARM: split off core code from create_mapping() for EFI reuse