[PATCH v4 1/2] arm: move CONFIG_PREBOOT="usb start" to KConfig

Simon Glass sjg at chromium.org
Tue Jul 28 20:58:27 CEST 2020


On Sun, 19 Jul 2020 at 07:56, Jonas Smedegaard <dr at jones.dk> wrote:
>
> This commit moves CONFIG_PREBOOT="usb start" to common/KConfig
> for all boards also declaring USB_KEYBOARD.
>
> Besides simplifying defconfig files, this also enables support for
> board-specific CONFIG_PREBOOT for sunxi boards:
> commit 37304aaf60bf ("Convert CONFIG_USE_PREBOOT and CONFIG_PREBOOT to
> Kconfig") intended to support CONFIG_PREBOOT, but
> include/configs/sunxi-common.h hardcodes preboot as part of internally
> defined CONSOLE_STDIN_SETTINGS, silently ignoring any board-specific
> CONFIG_PREBOOT.
>
> Signed-off-by: Jonas Smedegaard <dr at jones.dk>
> Series-Cc: Jagan Teki <jagan at amarulasolutions.com>
> Series-Cc: Lukasz Majewski <lukma at denx.de>
> Series-Cc: Andre Przywara <andre.przywara at arm.com>
>
> ---
>
> (no changes since v1)
>
>
> Changes in v4:
> - generalize to cover all boards, thanks to Jagan Teki
>
> Changes in v3:
> - move default setting to KConfig, thanks to Andre Przywara and Lukasz Majewski
>
> Changes in v2:
> - Rephrase commit message to clarify relationship with KConfig entries
>
> ---
>  common/Kconfig                        | 1 +
>  configs/libretech-ac_defconfig        | 1 -
>  configs/libretech-s905d-pc_defconfig  | 1 -
>  configs/libretech-s912-pc_defconfig   | 1 -
>  configs/pinebook-pro-rk3399_defconfig | 1 -
>  configs/rockpro64-rk3399_defconfig    | 1 -
>  configs/rpi_0_w_defconfig             | 1 -
>  configs/rpi_2_defconfig               | 1 -
>  configs/rpi_3_32b_defconfig           | 1 -
>  configs/rpi_3_b_plus_defconfig        | 1 -
>  configs/rpi_3_defconfig               | 1 -
>  configs/rpi_defconfig                 | 1 -
>  configs/seaboard_defconfig            | 1 -
>  configs/ventana_defconfig             | 1 -
>  include/configs/sunxi-common.h        | 1 -
>  15 files changed, 1 insertion(+), 14 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list