
DRAM initialization blobs for rk356x from vendor encode sdram info in a new version 3 format. The new format makes use of more bits in sys_reg3 compared to the version 2 format.
This series adds support for decoding basic information from this new version 3 format. It also adds support for adding a second dram bank of any usable memory beyond the 4GB mark.
With these patches my Radxa ROCK 3 Model A 2GB correctly report 2GB of DRAM, instead of 4GB, and my 8GB board can make full use of its memory.
Jonas Karlman (2): rockchip: sdram: add basic support for sdram reg info version 3 rockchip: sdram: add dram bank with usable memory beyond 4GB
arch/arm/include/asm/arch-rockchip/sdram.h | 28 +++++++++++++++------- arch/arm/mach-rockchip/sdram.c | 21 ++++++++++++---- 2 files changed, 35 insertions(+), 14 deletions(-)