diff options
| author | Tom Rini <[email protected]> | 2024-07-15 12:42:00 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-07-19 16:48:07 -0600 |
| commit | b81e31a1e6c5e0b20537fa8ffba67696dec46d58 (patch) | |
| tree | 32de4fc057b04eec6cb089be0cb27ce19f90d6ec /boot | |
| parent | 6b8df6055ab5b37c27679a5cd8ba61f702cab120 (diff) | |
bootstash: Do not provide a default address for all
A valid memory location to stash bootstage information at will be
architecture dependent. Move the existing defaults to the main Kconfig
file for this option and set 0x0 as the default only for sandbox.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/boot/Kconfig b/boot/Kconfig index def483a41f1..30d10cb59c2 100644 --- a/boot/Kconfig +++ b/boot/Kconfig @@ -1019,13 +1019,17 @@ config BOOTSTAGE_STASH config BOOTSTAGE_STASH_ADDR hex "Address to stash boot timing information" - default 0x0 + depends on BOOTSTAGE_STASH + default 0xC3000000 if STM32MP13X || STM32MP15X + default 0x87000000 if STM32MP25X + default 0x0 if SANDBOX 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" + depends on BOOTSTAGE_STASH default 0x1000 help This should be large enough to hold the bootstage stash. A value of |
