summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/qoriq
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-31 07:44:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-03 07:03:09 +0200
commitfad3f79b883100394a5a7e51e93f95eaaafd50f8 (patch)
treed325463fbefc3c19839d7cca89dac7a9e2b2b211 /bsps/powerpc/qoriq
parentbootstrap: Correct help message (diff)
downloadrtems-fad3f79b883100394a5a7e51e93f95eaaafd50f8.tar.bz2
bsps: BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
Remove the BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN hack. The interrupt stacks are now allocated by the linker. Update #3459.
Diffstat (limited to 'bsps/powerpc/qoriq')
-rw-r--r--bsps/powerpc/qoriq/start/bspstart.c4
-rw-r--r--bsps/powerpc/qoriq/start/mmu-config.c4
2 files changed, 3 insertions, 5 deletions
diff --git a/bsps/powerpc/qoriq/start/bspstart.c b/bsps/powerpc/qoriq/start/bspstart.c
index cc7902428b..76af17919e 100644
--- a/bsps/powerpc/qoriq/start/bspstart.c
+++ b/bsps/powerpc/qoriq/start/bspstart.c
@@ -169,7 +169,9 @@ void bsp_start(void)
initialize_frequency_parameters();
- qoriq_initialize_exceptions(bsp_section_work_begin);
+ qoriq_initialize_exceptions(
+ (uintptr_t) _Configuration_Interrupt_stack_area_begin
+ );
bsp_interrupt_initialize();
rtems_cache_coherent_add_area(
diff --git a/bsps/powerpc/qoriq/start/mmu-config.c b/bsps/powerpc/qoriq/start/mmu-config.c
index 3c5a8538c8..8a047a83bd 100644
--- a/bsps/powerpc/qoriq/start/mmu-config.c
+++ b/bsps/powerpc/qoriq/start/mmu-config.c
@@ -344,9 +344,5 @@ void TEXT bsp_work_area_initialize(void)
uintptr_t begin = we->begin;
uintptr_t end = begin + we->size;
-#ifdef BSP_INTERRUPT_STACK_AT_WORK_AREA_BEGIN
- begin += rtems_configuration_get_interrupt_stack_size();
-#endif
-
bsp_work_area_initialize_default((void *) begin, end - begin);
}