mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
bootstage: Fix dependency for BOOTSTAGE_RECORD_COUNT
At present these three Kconfigs exist even when bootstage is not enabled. This is not necessary since bootstage.c is only built if BOOTSTAGE is enabled. Make them conditional. Also fix up the overflow message to mention TPL. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -349,7 +349,7 @@ void bootstage_report(void)
|
||||
}
|
||||
if (data->rec_count > RECORD_COUNT)
|
||||
printf("Overflowed internal boot id table by %d entries\n"
|
||||
"Please increase CONFIG_(SPL_)BOOTSTAGE_RECORD_COUNT\n",
|
||||
"Please increase CONFIG_(SPL_TPL_)BOOTSTAGE_RECORD_COUNT\n",
|
||||
data->rec_count - RECORD_COUNT);
|
||||
|
||||
puts("\nAccumulated time:\n");
|
||||
|
Reference in New Issue
Block a user