[U-Boot] [PATCH v3 2/3] rk3288: sdram: auto-detect the capacity

Simon Glass sjg at chromium.org
Sat Oct 15 15:31:35 CEST 2016


On 15 October 2016 at 07:24, Simon Glass <sjg at chromium.org> wrote:
> On 10 October 2016 at 11:12, Vagrant Cascadian <vagrant at debian.org> wrote:
>> On 2016-10-07, Kever Yang wrote:
>>> Add support for rk3288 dram capacity auto detect, support DDR3 and
>>> LPDDR3, DDR2 is not supported.
>>> The program will automatically detect:
>>> - channel number
>>> - rank number
>>> - column address number
>>> - row address number
>>>
>>> The dts file do not need to describe those info after apply this patch.
>>>
>>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
>>> Tested-by: Simon Glass <sjg at chromium.org>
>>> Tested-by: Vagrant Cascadian <vagrant at debian.org>
>>> ---
>>>
>>> Changes in v3:
>>> - add error report and return value when error happen
>>> - add comments for stride and address bits.
>>>
>>> Changes in v2:
>>> - update code for OF_PLATDATA enabled
>>> - bug fix for ddrconfig
>>
>> Tested the updated v3 patch with u-boot 2016.11-rc1, using both firefly
>> 2GB and 4GB variants. Both detect appropriate amount of ram and
>> otherwise work fine.
>>
>> Tested-by: Vagrant Cascadian <vagrant at debian.org>
>>
>> live well,
>>   vagrant
>
> Acked-by: Simon Glass <sjg at chromium.org>


Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list