[U-Boot] [PATCH v2] rockchip: rk3288: correct sdram setting

Simon Glass sjg at chromium.org
Thu Mar 10 16:40:54 CET 2016


On 10 March 2016 at 08:20, Simon Glass <sjg at chromium.org> wrote:
> On 6 March 2016 at 23:51, Chris Zhong <zyw at rock-chips.com> wrote:
>> The DMC driver in v3.14 kernel[0] get the ddr setting from PMU_SYS_REG2,
>> and it expects uboot to store the value using a same protocol. But now
>> the ddr setting value is different with DMC, so if you enable the DMC,
>> system would crash in kernel. Correct the sdram setting here, according
>> to the requirements of kernel.
>>
>> [0]
>> https://chromium.googlesource.com/chromiumos/third_party/kernel/+/
>> chromeos-3.14/drivers/clk/rockchip/clk-rk3288-dmc.c
>>
>> Signed-off-by: Chris Zhong <zyw at rock-chips.com>
>> ---
>>
>> Changes in v2:
>> Modified into a more readable code style(Simon Glass)
>>
>>  arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 14 +++++++-------
>>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-rockchip, thanks!


More information about the U-Boot mailing list