summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rockchip
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 17:58:34 (GMT)
committerSimon Glass <sjg@chromium.org>2016-07-15 02:40:24 (GMT)
commitfb4baf5d58c212f0b78ac125ee2d7c595b6437e9 (patch)
treec2e4a379842983ecb453b26bbd963655b631f2ef /arch/arm/include/asm/arch-rockchip
parent5ce4bb2709cea7bde2196ad5f3af11f8f3aa3375 (diff)
downloadu-boot-fsl-qoriq-fb4baf5d58c212f0b78ac125ee2d7c595b6437e9.tar.xz
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/asm/arch-rockchip')
-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