summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 11:58:34 -0600
committerSimon Glass <sjg@chromium.org>2016-07-14 20:40:24 -0600
commitfb4baf5d58c212f0b78ac125ee2d7c595b6437e9 (patch)
treec2e4a379842983ecb453b26bbd963655b631f2ef /arch/arm/include
parent5ce4bb2709cea7bde2196ad5f3af11f8f3aa3375 (diff)
downloadu-boot-imx-fb4baf5d58c212f0b78ac125ee2d7c595b6437e9.zip
u-boot-imx-fb4baf5d58c212f0b78ac125ee2d7c595b6437e9.tar.gz
u-boot-imx-fb4baf5d58c212f0b78ac125ee2d7c595b6437e9.tar.bz2
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>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-rockchip/sdram.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/sdram.h b/arch/arm/include/asm/arch-rockchip/sdram.h
index c9e3001..e08e28f 100644
--- a/arch/arm/include/asm/arch-rockchip/sdram.h
+++ b/arch/arm/include/asm/arch-rockchip/sdram.h
@@ -87,12 +87,4 @@ struct rk3288_base_params {
u32 odt;
};
-struct rk3288_sdram_params {
- struct rk3288_sdram_channel ch[2];
- struct rk3288_sdram_pctl_timing pctl_timing;
- struct rk3288_sdram_phy_timing phy_timing;
- struct rk3288_base_params base;
- int num_channels;
-};
-
#endif