From 01d22f7f79a14ecedae0f337b1e7e442287f097f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 30 Jul 2021 13:14:34 +0200 Subject: bsps/leon3: Rename fatal error code Rename LEON3_FATAL_INVALID_CACHE_CONFIG_MAIN_PROCESSOR in LEON3_FATAL_INVALID_CACHE_CONFIG_BOOT_PROCESSOR since the term "boot processor" is used elsewhere in the code base. --- bsps/include/bsp/fatal.h | 2 +- bsps/sparc/leon3/start/bspsmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bsps/include/bsp/fatal.h b/bsps/include/bsp/fatal.h index 54ed4b2027..f9b9e39193 100644 --- a/bsps/include/bsp/fatal.h +++ b/bsps/include/bsp/fatal.h @@ -56,7 +56,7 @@ typedef enum { LEON3_FATAL_NO_IRQMP_CONTROLLER = BSP_FATAL_CODE_BLOCK(2), LEON3_FATAL_CONSOLE_REGISTER_DEV, LEON3_FATAL_CLOCK_INITIALIZATION, - LEON3_FATAL_INVALID_CACHE_CONFIG_MAIN_PROCESSOR, + LEON3_FATAL_INVALID_CACHE_CONFIG_BOOT_PROCESSOR, LEON3_FATAL_INVALID_CACHE_CONFIG_SECONDARY_PROCESSOR, LEON3_FATAL_CLOCK_NO_IRQMP_TIMESTAMP_SUPPORT, diff --git a/bsps/sparc/leon3/start/bspsmp.c b/bsps/sparc/leon3/start/bspsmp.c index 1c72027ebf..a556da1e09 100644 --- a/bsps/sparc/leon3/start/bspsmp.c +++ b/bsps/sparc/leon3/start/bspsmp.c @@ -73,7 +73,7 @@ static void leon3_install_inter_processor_interrupt( void ) uint32_t _CPU_SMP_Initialize( void ) { if ( !leon3_data_cache_snooping_enabled() ) - bsp_fatal( LEON3_FATAL_INVALID_CACHE_CONFIG_MAIN_PROCESSOR ); + bsp_fatal( LEON3_FATAL_INVALID_CACHE_CONFIG_BOOT_PROCESSOR ); return leon3_get_cpu_count(LEON3_IrqCtrl_Regs); } -- cgit v1.2.3