[PATCH] rockchip: rk35xx-generic: Disable late boardinfo

Kever Yang kever.yang at rock-chips.com
Wed Nov 6 10:56:43 CET 2024


On 2024/11/3 05:30, Jonas Karlman wrote:
> Disable DISPLAY_BOARDINFO_LATE as the early boardinfo print of Model
> should be enough.
>
>    U-Boot 2025.01-rc1 (Nov 02 2024 - 16:04:16 +0000)
>
>    Model: Generic RK3566/RK3568
>    DRAM:  8 GiB (effective 7.7 GiB)
>    Core:  250 devices, 24 uclasses, devicetree: separate
>    MMC:   mmc at fe2b0000: 1, mmc at fe310000: 0
>    Loading Environment from nowhere... OK
>    In:    serial at fe660000
>    Out:   serial at fe660000
>    Err:   serial at fe660000
>    Model: Generic RK3566/RK3568
>    Hit any key to stop autoboot:  0
>    =>
>
> Enable CMD_MISC to make it easier to inspect data in OTP.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   configs/generic-rk3568_defconfig | 2 +-
>   configs/generic-rk3588_defconfig | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/configs/generic-rk3568_defconfig b/configs/generic-rk3568_defconfig
> index 1d06f3411fe0..f79f0e84400b 100644
> --- a/configs/generic-rk3568_defconfig
> +++ b/configs/generic-rk3568_defconfig
> @@ -22,7 +22,6 @@ CONFIG_SPL_LOAD_FIT=y
>   CONFIG_LEGACY_IMAGE_FORMAT=y
>   CONFIG_DEFAULT_FDT_FILE="rockchip/rk3568-generic.dtb"
>   # CONFIG_DISPLAY_CPUINFO is not set
> -CONFIG_DISPLAY_BOARDINFO_LATE=y
>   CONFIG_SPL_MAX_SIZE=0x40000
>   CONFIG_SPL_PAD_TO=0x7f8000
>   # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
> @@ -31,6 +30,7 @@ CONFIG_SYS_SPI_U_BOOT_OFFS=0x60000
>   CONFIG_SPL_ATF=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_GPT=y
> +CONFIG_CMD_MISC=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_ROCKUSB=y
>   CONFIG_CMD_USB_MASS_STORAGE=y
> diff --git a/configs/generic-rk3588_defconfig b/configs/generic-rk3588_defconfig
> index ebe883ed5972..51e31dce3a96 100644
> --- a/configs/generic-rk3588_defconfig
> +++ b/configs/generic-rk3588_defconfig
> @@ -18,13 +18,13 @@ CONFIG_SPL_LOAD_FIT=y
>   CONFIG_LEGACY_IMAGE_FORMAT=y
>   CONFIG_DEFAULT_FDT_FILE="rockchip/rk3588-generic.dtb"
>   # CONFIG_DISPLAY_CPUINFO is not set
> -CONFIG_DISPLAY_BOARDINFO_LATE=y
>   CONFIG_SPL_MAX_SIZE=0x40000
>   CONFIG_SPL_PAD_TO=0x7f8000
>   # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
>   CONFIG_SPL_ATF=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_GPT=y
> +CONFIG_CMD_MISC=y
>   CONFIG_CMD_MMC=y
>   CONFIG_CMD_ROCKUSB=y
>   CONFIG_CMD_USB_MASS_STORAGE=y


More information about the U-Boot mailing list