[PATCH 2/2] rockchip: rk3399: sync spl_boot_devices_tbl and boot_devices node paths

Kever Yang kever.yang at rock-chips.com
Sat Aug 27 05:59:47 CEST 2022


On 2022/7/15 23:15, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at theobroma-systems.com>
>
> While technically not a bug, let's have some consistency in paths
> returned by u-boot,spl-boot-order look-up and the one saved in
> u-boot,spl-boot-device by syncing spl_boot_devices_tbl and boot_devices
> node paths.
>
> Cc: Quentin Schulz <foss+uboot at 0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>

Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/mach-rockchip/rk3399/rk3399.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach-rockchip/rk3399/rk3399.c
> index f280cb1dbf..7147dc09f5 100644
> --- a/arch/arm/mach-rockchip/rk3399/rk3399.c
> +++ b/arch/arm/mach-rockchip/rk3399/rk3399.c
> @@ -182,7 +182,7 @@ const char *spl_decode_boot_device(u32 boot_device)
>   	} spl_boot_devices_tbl[] = {
>   		{ BOOT_DEVICE_MMC2, "/mmc at fe320000" },
>   		{ BOOT_DEVICE_MMC1, "/mmc at fe330000" },
> -		{ BOOT_DEVICE_SPI, "/spi at ff1d0000" },
> +		{ BOOT_DEVICE_SPI, "/spi at ff1d0000/flash at 0" },
>   	};
>   
>   	for (i = 0; i < ARRAY_SIZE(spl_boot_devices_tbl); ++i)


More information about the U-Boot mailing list