diff options
Diffstat (limited to 'src/mainboard/asus/kgpe-d16')
-rw-r--r-- | src/mainboard/asus/kgpe-d16/romstage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c index 72581a0d88..7e8fb9725a 100644 --- a/src/mainboard/asus/kgpe-d16/romstage.c +++ b/src/mainboard/asus/kgpe-d16/romstage.c @@ -363,7 +363,7 @@ spinlock_t* romstage_console_lock(void) void initialize_romstage_console_lock(void) { - car_get_var(printk_spinlock) = SPIN_LOCK_UNLOCKED; + spin_unlock(romstage_console_lock()); } static spinlock_t nvram_cbfs_spinlock CAR_GLOBAL; @@ -375,7 +375,7 @@ spinlock_t* romstage_nvram_cbfs_lock(void) void initialize_romstage_nvram_cbfs_lock(void) { - car_get_var(nvram_cbfs_spinlock) = SPIN_LOCK_UNLOCKED; + spin_unlock(romstage_nvram_cbfs_lock()); } static spinlock_t microcode_cbfs_spinlock CAR_GLOBAL; @@ -387,7 +387,7 @@ spinlock_t* romstage_microcode_cbfs_lock(void) void initialize_romstage_microcode_cbfs_lock(void) { - car_get_var(microcode_cbfs_spinlock) = SPIN_LOCK_UNLOCKED; + spin_unlock(romstage_microcode_cbfs_lock()); } void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx) |