]> git.dujemihanovic.xyz Git - u-boot.git/commit
Actions: OWL: Calculate SDRAM size
authorAmit Singh Tomar <amittomer25@gmail.com>
Sat, 9 May 2020 08:15:07 +0000 (13:45 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 7 Jul 2020 20:09:22 +0000 (16:09 -0400)
commit3ca564e96e90a4714147262c9d201e077ef54a26
tree5999e0b77f86cf6128cd5ab5ed0aaae4401f268a
parent26073f9ed3ab0aaf3c2a2b433fecb30a95a067d6
Actions: OWL: Calculate SDRAM size

Calculate the SDRAM size from DDR capacity register registers instead
of using hard-coded value. This is quite useful to get correct size
on differnt boards based on Actions OWL family of SoCs (S700 and S900).

There is no documentation available that talks about DDR registers, and
this is very much taken from vendor source.

This commit lets Linux boot on Cubieboard7-lite(based on S700).

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
arch/arm/mach-owl/soc.c