]> git.dujemihanovic.xyz Git - u-boot.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)
commit81bd0ad07c27ee221c48f5553acf53a86827b439
tree23be7250567b46d8909f6dcf962b3a181914f7f1
parent66a63fec819ca6d2f121c3db9c5d2de0d4a5a41f
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