summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Lin <jon.lin@rock-chips.com>2021-11-02 11:36:20 +0300
committerJon Lin <jon.lin@rock-chips.com>2021-11-02 11:39:45 +0300
commit3ddd5a65dd8b097f60e661fb10b70bd04d94a2d2 (patch)
treeca8cb60dff16fcaf0041f0ffd99a87c85bced213
parent4353cdc4ec81600e62635687c9f8404e0ce112fb (diff)
downloadu-boot-3ddd5a65dd8b097f60e661fb10b70bd04d94a2d2.tar.xz
rockchip: rk3308bs: correct the nand iomux
The rk3308b and rk3308bs nand flash id has two group iomuxs. The maskrom only config the iomux register in the low address, but the kernel routing to the another one, so configure it in spl early to avoid losing the flash iomux. Change-Id: I95381a8bad9a2f91decb89cd509a9b1977e90186 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
-rw-r--r--arch/arm/mach-rockchip/rk3308/rk3308.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/rk3308/rk3308.c b/arch/arm/mach-rockchip/rk3308/rk3308.c
index aed500db62..4dfc7460db 100644
--- a/arch/arm/mach-rockchip/rk3308/rk3308.c
+++ b/arch/arm/mach-rockchip/rk3308/rk3308.c
@@ -277,7 +277,7 @@ int rk_board_init_f(void)
(GPIO3B3_SEL_SRC_CTRL_SEL_PLUS << GPIO3B3_SEL_SRC_CTRL_SHIFT);
if (get_bootdev_by_brom_bootsource() == BOOT_TYPE_NAND) {
- if (soc_is_rk3308b())
+ if (soc_is_rk3308b() || soc_is_rk3308bs())
rk_clrsetreg(&grf->soc_con15, mask, value);
}