From d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 11 Dec 2023 02:45:28 +0000 Subject: [PATCH] add boot partition size --- u-boot/drivers/spi/rockchip_sfc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/u-boot/drivers/spi/rockchip_sfc.c b/u-boot/drivers/spi/rockchip_sfc.c index 63ca2c0..13e4ab0 100644 --- a/u-boot/drivers/spi/rockchip_sfc.c +++ b/u-boot/drivers/spi/rockchip_sfc.c @@ -108,6 +108,7 @@ #define SFC_VER_4 0x4 #define SFC_VER_5 0x5 #define SFC_VER_6 0x6 +#define SFC_VER_8 0x8 /* Delay line controller resiter */ #define SFC_DLL_CTRL0 0x3C @@ -225,6 +226,7 @@ static u32 rockchip_sfc_get_max_dll_cells(struct rockchip_sfc *sfc) { switch (rockchip_sfc_get_version(sfc)) { + case SFC_VER_8: case SFC_VER_6: case SFC_VER_5: return SFC_DLL_CTRL0_DLL_MAX_VER5; -- Gitblit v1.6.2