[PATCH 12/12] bsp/altera-cyclone-v: Cleanup
Ralf Kirchner
ralf.kirchner at embedded-brains.de
Tue May 27 14:50:53 UTC 2014
---
c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstarthooks.c | 6 +++---
1 Datei geändert, 3 Zeilen hinzugefügt(+), 3 Zeilen entfernt(-)
diff --git a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstarthooks.c b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstarthooks.c
index 18c65b4..e9147ea 100644
--- a/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstarthooks.c
+++ b/c/src/lib/libbsp/arm/altera-cyclone-v/startup/bspstarthooks.c
@@ -115,16 +115,16 @@ BSP_START_TEXT_SECTION void bsp_start_hook_0( void )
const uint32_t CORES = BSPSTARTHOOKS_MIN(
(uintptr_t) bsp_processor_count,
rtems_configuration_get_maximum_processors() );
-
+
assert( cpu_id < CORES );
-
+
if( cpu_id < CORES ) {
if( cpu_id == 0 ) {
ctrl = arm_cp15_mmu_disable( 32 );
ctrl &= ~( ARM_CP15_CTRL_I | ARM_CP15_CTRL_C | ARM_CP15_CTRL_Z );
arm_cp15_set_control( ctrl );
-
+
/* Enable Snoop Control Unit (SCU) */
arm_a9mpcore_start_scu_enable( scu );
}
--
1.7.10.4
More information about the devel
mailing list