mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-30 08:07:59 +00:00
common: console: record console from the beginning
Set flag to enable console record on console_record_init and not only on console_record_reset_enable. This fixes missing start of U-Boot log for fastboot oem console command. Signed-off-by: Ion Agorria <ion@agorria.com> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20240105072212.6615-5-clamor95@gmail.com Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
This commit is contained in:
parent
9ce75f4912
commit
90087dd076
1 changed files with 3 additions and 0 deletions
|
@ -821,6 +821,9 @@ int console_record_init(void)
|
||||||
ret = membuff_new((struct membuff *)&gd->console_in,
|
ret = membuff_new((struct membuff *)&gd->console_in,
|
||||||
CONFIG_CONSOLE_RECORD_IN_SIZE);
|
CONFIG_CONSOLE_RECORD_IN_SIZE);
|
||||||
|
|
||||||
|
/* Start recording from the beginning */
|
||||||
|
gd->flags |= GD_FLG_RECORD;
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue