boot: Create a common BOOT_DEFAULTS for distro and bootstd
authorSimon Glass <sjg@chromium.org>
Fri, 24 Mar 2023 20:58:13 +0000 (16:58 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 27 Mar 2023 15:16:04 +0000 (11:16 -0400)
commita0c739c184cab7b2dc77315b5ed8c9cebe90bf63
tree2ab753d0b697135faf324a88015c7c0646172aae
parentfebb9852613708c768c1b40807ce502504d79002
boot: Create a common BOOT_DEFAULTS for distro and bootstd

These two features use a lot of common options. Move them into a common
CONFIG to reduce duplication.

Use 'select' for most options since these are things that boards aren't
supposed to override. For now it is not possible to disable
BOOT_DEFAULTS but we may take another look later.

Note that five options use 'imply' to match existing behaviour.

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Rework a bit so we don't grow so many platforms unintentionally]
Signed-off-by: Tom Rini <trini@konsulko.com>
boot/Kconfig