kconfig: Set `BOOTLOADER_SRAM_SIZE` default to 0
The current default value for `BOOTLOADER_SRAM_SIZE` is set to an arbitrary-seeming value of `16`, which feels like a random magic number. Given that adding an offset in SRAM for a bootloader should always be a conscious choice for a specific platform, this PR sets the default to `0`. An appropriate value can be set at the SoC or board level, overriding this default. Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
This commit is contained in:
parent
0e35bbbfd2
commit
f68cee9405
|
@ -827,7 +827,7 @@ config IS_BOOTLOADER
|
|||
|
||||
config BOOTLOADER_SRAM_SIZE
|
||||
int "SRAM reserved for bootloader"
|
||||
default 16
|
||||
default 0
|
||||
depends on !XIP || IS_BOOTLOADER
|
||||
depends on ARM || XTENSA
|
||||
help
|
||||
|
|
|
@ -20,6 +20,10 @@ API Changes
|
|||
Changes in this release
|
||||
=======================
|
||||
|
||||
* Set :kconfig:option:`CONFIG_BOOTLOADER_SRAM_SIZE` default value to ``0`` (was
|
||||
``16``). Bootloaders that use a part of the SRAM should set this value to an
|
||||
appropriate size. :github:`60371`
|
||||
|
||||
Removed APIs in this release
|
||||
============================
|
||||
|
||||
|
|
Loading…
Reference in New Issue