[rtems commit] bsp/qoriq: Boot page translation
Sebastian Huber
sebh at rtems.org
Tue Sep 12 08:01:57 UTC 2017
Module: rtems
Branch: master
Commit: b742de24c07b40013ca71f3c268a5928709b1506
Changeset: http://git.rtems.org/rtems/commit/?id=b742de24c07b40013ca71f3c268a5928709b1506
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Sep 8 10:11:48 2017 +0200
bsp/qoriq: Boot page translation
Do not mingle with the boot page translation as hypervisor guest.
Update #3085.
---
c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c b/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
index 67df72e..22eb678 100644
--- a/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/qoriq/startup/bspstart.c
@@ -190,12 +190,14 @@ void bsp_start(void)
(uintptr_t) bsp_section_nocacheheap_size
);
+#ifndef QORIQ_IS_HYPERVISOR_GUEST
/* Disable boot page translation */
#if QORIQ_CHIP_IS_T_VARIANT(QORIQ_CHIP_VARIANT)
qoriq.lcc.bstar &= ~LCC_BSTAR_EN;
#else
qoriq.lcc.bptr &= ~BPTR_EN;
#endif
+#endif
}
uint32_t bsp_fdt_map_intr(uint32_t intr)
More information about the vc
mailing list