[PATCH] raspberry pi memory alignment fix in CP15
Alan Cudmore
alan.cudmore at gmail.com
Sun May 5 20:42:11 UTC 2013
Turns off the alignment in the CP15 Co-processor. All tests and examples
I try now work.
---------
diff --git a/c/src/lib/libbsp/arm/raspberrypi/startup/bspstarthooks.c
b/c/src/lib/libbsp/arm/raspberrypi/startu
index 6f57264..1d2591f 100644
--- a/c/src/lib/libbsp/arm/raspberrypi/startup/bspstarthooks.c
+++ b/c/src/lib/libbsp/arm/raspberrypi/startup/bspstarthooks.c
@@ -50,7 +50,7 @@ static void BSP_START_TEXT_SECTION
raspberrypi_cache_setup(void)
ctrl = arm_cp15_get_control();
ctrl &= ~(ARM_CP15_CTRL_I | ARM_CP15_CTRL_R | ARM_CP15_CTRL_C
| ARM_CP15_CTRL_V | ARM_CP15_CTRL_M);
- ctrl |= ARM_CP15_CTRL_S | ARM_CP15_CTRL_A;
+ ctrl |= ARM_CP15_CTRL_S;
arm_cp15_set_control(ctrl);
arm_cp15_cache_invalidate();
More information about the devel
mailing list