]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3368: syscon: MSCH/PMUGRF/GRF support for OF_PLATDATA
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 22 Jun 2017 21:25:57 +0000 (23:25 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:22 +0000 (17:12 +0200)
commita777de48d15ea22f2dde7f2d3c188d1b6c947876
tree2b0ffdb34ff8636cfd5b1b382de365b5a63ce55e
parent0e589d6e2a51327d385a7073124f2dd67dc57eb2
rockchip: rk3368: syscon: MSCH/PMUGRF/GRF support for OF_PLATDATA

The RK3368 has both a limited TPL size (just 0x7000 bytes) and the
added challenge of booting in AArch64, which increases the code size
for TPL (particularily when using the LP64 programming model).  For
this reason we expect the RK3368 to always use OF_PLATDATA for its
TPL stage.

This change adds support for the MSCH, PMUGRF and GRF register regions
in syscon, which are necessary for initialising the RK3368's DRAM
controller.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3368/syscon_rk3368.c