[U-Boot] question about boot timing -- should it all depend on BOOTSTAGE?

Robert P. J. Day rpjday at crashcourse.ca
Mon Jan 2 23:02:32 CET 2017


  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

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

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



More information about the U-Boot mailing list