rockchip: sdram: Allow the first bank to extend beyond 4 GiB
authorJonas Karlman <jonas@kwiboo.se>
Thu, 30 Jan 2025 22:07:11 +0000 (22:07 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 19 Feb 2025 15:11:06 +0000 (23:11 +0800)
commit57ad1ed7e84ac36d3d838d8c1eba96f586995a42
treed9cc48be9a18a320856aadf46e3aeb303bc36ccf
parent64cec76899a9a32c2434a324cd400492e4f5a59d
rockchip: sdram: Allow the first bank to extend beyond 4 GiB

Allow the first bank to extend beyond 4 GiB when the blob of space for
peripheral is located before start of DRAM, e.g. when start of DRAM
is 0x40000000 and continue beyond the 4 GiB mark.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/sdram.c