CBMEM console: Fix CAR migration step
With the change it becomes irrelevant if memcpy() car.global_data or cbmemc_reinit() is done first. Change-Id: Ie479eef346c959e97dcc55861ccb0db1321fb7b2 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/8032 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@google.com> Tested-by: build bot (Jenkins)
This commit is contained in:
@ -65,7 +65,7 @@ static u8 static_console[STATIC_CONSOLE_SIZE];
|
||||
|
||||
static inline struct cbmem_console *current_console(void)
|
||||
{
|
||||
return car_get_var(cbmem_console_p);
|
||||
return car_sync_var(cbmem_console_p);
|
||||
}
|
||||
|
||||
static inline void current_console_set(struct cbmem_console *new_console_p)
|
||||
|
Reference in New Issue
Block a user