]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: rk3368: pmugrf: add definitions for os_reg[0..3]
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 11:42:55 +0000 (13:42 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 13 Aug 2017 15:12:22 +0000 (17:12 +0200)
commit3ac9bfb6db0b0381ebdb5874f13e59cfc66d4c32
tree019403ff825ac5e62f8f520189d1d052cab96c78
parent91638c323b5d2ada98af70b783408148162d7d53
rockchip: rk3368: pmugrf: add definitions for os_reg[0..3]

On the RK3368 we use a TPL-stage similar to Rockchip's DDR init
(i.e. it initialises DRAM, leaves some info for the next stage and
returns to the BootROM).  To allow compatibility with Rockchip's DDR
init code, we use the same register os_reg2 in pmugrf for passing
this info (i.e. DRAM size and configuration) between stages.

This change adds the definitions for os_reg[0] through os_reg[3] to
the pmugrf structure for the RK3368.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/grf_rk3368.h