bootstage: Fix dependency for BOOTSTAGE_RECORD_COUNT
authorSimon Glass <sjg@chromium.org>
Wed, 3 Feb 2021 13:00:49 +0000 (06:00 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Mar 2021 02:17:25 +0000 (19:17 -0700)
commit939b04e9cf57a838be7e590340a4e84610e76433
tree27e7f13b5ce073ef18f8647ec32083c307190623
parent15421b71bccc3a12e64cfa1e8089e50cc2a93fe4
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>
common/Kconfig.boot
common/bootstage.c