diff options
author | Robert Lee <robert.lee@freescale.com> | 2010-01-18 10:31:38 +0800 |
---|---|---|
committer | Frank Li <Frank.Li@freescale.com> | 2010-01-19 11:38:44 +0800 |
commit | acc76772d80119ca00e7f6ce40b589e43b6176c6 (patch) | |
tree | 4cf1f1d9cbb4a0b5949ca895953110141ea59b9c | |
parent | ed32066f456d97ebdd0d4a93266fa9f2ec93735b (diff) |
ENGR00116049-2 [imx23] Addition of FIQ system for chip errata/bo's
[imx23] Addition of FIQ system for chip errata and bo's
Signed-off-by: Robert Lee <robert.lee@freescale.com>
-rw-r--r-- | arch/arm/mm/mmu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c index 4426ee67ceca..3d4411322bd3 100644 --- a/arch/arm/mm/mmu.c +++ b/arch/arm/mm/mmu.c @@ -936,7 +936,12 @@ static void __init devicemaps_init(struct machine_desc *mdesc) * location (0xffff0000). If we aren't using high-vectors, also * create a mapping at the low-vectors virtual address. */ +#ifdef CONFIG_VECTORS_PHY_ADDR + /* use OCRAM as vector for CQ116049 */ + map.pfn = CONFIG_VECTORS_PHY_ADDR ; +#else map.pfn = __phys_to_pfn(virt_to_phys(vectors)); +#endif map.virtual = 0xffff0000; map.length = PAGE_SIZE; map.type = MT_HIGH_VECTORS; |