diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/coreboot-start.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coreboot-start.c b/src/coreboot-start.c index c7b5094..cfcc668 100644 --- a/src/coreboot-start.c +++ b/src/coreboot-start.c @@ -28,7 +28,7 @@ extern void cb_start_rom(void); extern int cb_boot_processor_ready; /// @brief hardware thread counter (rv64 only) -#ifdef __riscv64__ +#ifdef __COMPILE_RISCV__ uint64_t __cb_hart_counter = 0UL; #endif @@ -36,7 +36,7 @@ uint64_t __cb_hart_counter = 0UL; /// @param void cb_start_exec(void) { -#ifndef __riscv64__ +#ifndef __COMPILE_RISCV__ static uint64_t __cb_hart_counter = 0UL; #endif |
