[rtems commit] bsp/altera-cyclone-v: Cleanup
Sebastian Huber
sebh at rtems.org
Wed May 28 12:55:13 UTC 2014
Module: rtems
Branch: master
Commit: 7280fe3f243775040fb905a98d62031a9e18d88a
Changeset: http://git.rtems.org/rtems/commit/?id=7280fe3f243775040fb905a98d62031a9e18d88a
Author: Ralf Kirchner <ralf.kirchner at embedded-brains.de>
Date: Wed May 28 14:47:07 2014 +0200
bsp/altera-cyclone-v: Cleanup
---
.../arm/altera-cyclone-v/startup/bspstarthooks.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
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 );
}
More information about the vc
mailing list