CBMEM console: Fix boards with BROKEN_CAR_MIGRATE
There is no need to call cbmemc_reinit() exclusively in romstage, that is done as part of the CAR migration of cbmem_recovery(). CBMEM console for romstage remains disabled for boards flagged with BROKEN_CAR_MIGRATE, but with this change it is possible to have it for ramstage. Change-Id: I48c4afcd847d0d5f8864d23c0786935341e3f752 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/7592 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <gaumless@gmail.com>
This commit is contained in:
@@ -256,9 +256,7 @@ static void init_cbmem_post_device(void *unused)
|
||||
#else
|
||||
cbmem_recovery(0);
|
||||
#endif
|
||||
#if CONFIG_CONSOLE_CBMEM
|
||||
cbmemc_reinit();
|
||||
#endif
|
||||
}
|
||||
|
||||
BOOT_STATE_INIT_ENTRIES(cbmem_bscb) = {
|
||||
|
Reference in New Issue
Block a user