commit | 8e6af6fe3816a9aeb88ed74685c45c7c3b3902fc | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Jul 04 11:58:34 2016 -0600 |
committer | Simon Glass <sjg@chromium.org> | Thu Jul 14 20:40:24 2016 -0600 |
tree | c2e4a379842983ecb453b26bbd963655b631f2ef | |
parent | d63ea43df040d345539691c54ef9d96249056604 [diff] |
rockchip: sdram: Move all DT decoding to ofdata_to_platdata() It is more correct to avoid touching the device tree in the probe() method. Update the driver to work this way. Note that only SPL needs to fiddle with the SDRAM registers, so decoding the platform data fully is not necessary in U-Boot proper. Signed-off-by: Simon Glass <sjg@chromium.org>