diff options
Diffstat (limited to 'core/arch/arm/kernel/generic_boot.c')
-rw-r--r-- | core/arch/arm/kernel/generic_boot.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/core/arch/arm/kernel/generic_boot.c b/core/arch/arm/kernel/generic_boot.c index 8f13c36..0d78d40 100644 --- a/core/arch/arm/kernel/generic_boot.c +++ b/core/arch/arm/kernel/generic_boot.c @@ -93,12 +93,6 @@ __weak void plat_cpu_reset_late(void) KEEP_PAGER(plat_cpu_reset_late); /* May be overridden in plat-$(PLATFORM)/main.c */ -__weak void plat_cpu_reset_early(void) -{ -} -KEEP_PAGER(plat_cpu_reset_early); - -/* May be overridden in plat-$(PLATFORM)/main.c */ __weak void main_init_gic(void) { } @@ -289,9 +283,8 @@ static void init_runtime(unsigned long pageable_part) p = (uint8_t *)(((vaddr_t)__init_start + init_size) & ~SMALL_PAGE_MASK); - cache_maintenance_l1(DCACHE_AREA_CLEAN, p, SMALL_PAGE_SIZE); - cache_maintenance_l1(ICACHE_AREA_INVALIDATE, p, - SMALL_PAGE_SIZE); + cache_op_inner(DCACHE_AREA_CLEAN, p, SMALL_PAGE_SIZE); + cache_op_inner(ICACHE_AREA_INVALIDATE, p, SMALL_PAGE_SIZE); } /* @@ -607,7 +600,8 @@ static void init_primary_helper(unsigned long pageable_part, * Mask asynchronous exceptions before switch to the thread vector * as the thread handler requires those to be masked while * executing with the temporary stack. The thread subsystem also - * asserts that IRQ is blocked when using most if its functions. + * asserts that the foreign interrupts are blocked when using most of + * its functions. */ thread_set_exceptions(THREAD_EXCP_ALL); init_vfp_sec(); @@ -634,7 +628,8 @@ static void init_secondary_helper(unsigned long nsec_entry) * Mask asynchronous exceptions before switch to the thread vector * as the thread handler requires those to be masked while * executing with the temporary stack. The thread subsystem also - * asserts that IRQ is blocked when using most if its functions. + * asserts that the foreign interrupts are blocked when using most of + * its functions. */ thread_set_exceptions(THREAD_EXCP_ALL); |