Skip to content
Commit 90de3969 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Jagan Teki
Browse files

sunxi: fix DRAM gate/reset sequence of H6



Currently the DRAM bus gate and reset is changed at the same time in
H6 DRAM initialization code, which disobeys the user manual's
programming guide.

Fix the sequence by follow the sequence suggested by the user manual
(ungate the bus clock after release the reset signal).

By some experiments it seems to fix the DRAM size detection failure that
rarely happens.

Signed-off-by: default avatarIcenowy Zheng <icenowy@aosc.io>
Acked-by: Maxime Ripard's avatarMaxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: default avatarJagan Teki <jagan@amarulasolutions.com>
parent 0a60a81b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment