bsp/qoriq: Boot page translation

Do not mingle with the boot page translation as hypervisor guest.

Update #3085.
This commit is contained in:
Sebastian Huber
2017-09-08 10:11:48 +02:00
parent 0ce5bfb984
commit b742de24c0

View File

@@ -190,12 +190,14 @@ void bsp_start(void)
(uintptr_t) bsp_section_nocacheheap_size (uintptr_t) bsp_section_nocacheheap_size
); );
#ifndef QORIQ_IS_HYPERVISOR_GUEST
/* Disable boot page translation */ /* Disable boot page translation */
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT) #if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
qoriq.lcc.bstar &= ~LCC_BSTAR_EN; qoriq.lcc.bstar &= ~LCC_BSTAR_EN;
#else #else
qoriq.lcc.bptr &= ~BPTR_EN; qoriq.lcc.bptr &= ~BPTR_EN;
#endif #endif
#endif
} }
uint32_t bsp_fdt_map_intr(uint32_t intr) uint32_t bsp_fdt_map_intr(uint32_t intr)