From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Sun, 06 Aug 2017 19:18:10 +0200 Subject: [U-Boot] [U-Boot, v4, 27/66] rockchip: rk3368: pmugrf: add definitions for os_reg[0..3] In-Reply-To: <1501706105-7490-28-git-send-email-philipp.tomsich@theobroma-systems.com> References: <1501706105-7490-28-git-send-email-philipp.tomsich@theobroma-systems.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > > Reviewed-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/include/asm/arch-rockchip/grf_rk3368.h | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Applied to u-boot-rockchip, thanks!