Skip to contentSkip to conversation

question about boot timing -- should it all depend on BOOTSTAGE?

U-Boot Robert P. J. Day 1 participant 1 message Jan 2, 2017

lore
Share & tools
lore
#0 lore raw

looking at another Kconfig file -- common/Kconfig -- and i find it
curious that there are a couple BOOTSTAGE config options that don't depend on BOOTSTAGE:

config BOOTSTAGE_USER_COUNT
hex "Number of boot ID numbers available for user use" default 20
help
This is the number of available user bootstage records. Each time you call bootstage_mark(BOOTSTAGE_ID_ALLOC, ...) a new ID will be allocated from this stash. If you exceed the limit, recording will stop.

... snip ...

config BOOTSTAGE_STASH_ADDR
hex "Address to stash boot timing information"
default 0
help
Provide an address which will not be overwritten by the OS when it starts, so that it can read this information when ready.

config BOOTSTAGE_STASH_SIZE
hex "Size of boot timing stash region"
default 4096
help
This should be large enough to hold the bootstage stash. A value of 4096 (4KiB) is normally plenty.

endmenu

do those Kbuild options really not need BOOTSTAGE to be selected
first?

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================