]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3368: syscon: SGRF support for OF_PLATDATA
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 28 Jul 2017 09:37:57 +0000 (11:37 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:22 +0000 (17:12 +0200)
commit796f96a99037b9d3f0902e8190629cbf390c52e1
tree23be7250567b46d8909f6dcf962b3a181914f7f1
parenta777de48d15ea22f2dde7f2d3c188d1b6c947876
rockchip: rk3368: syscon: SGRF support for OF_PLATDATA

In TPL we will need to configure security in the SGRF of the RK3368.
This change adds support for the SGRF as a syscon device, so we can
retrieve its address range through the syscon API in TPL (and can
avoid having to hard-code the address).

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