u-boot/drivers/ram
Jagan Teki 4b09719c38 ram: rk3399: Compute stride for 2 channels
stride value from sdram timings can be computed dynamically
based on the determined capacity for the given channel.

Right now these stride values are taken as part of sdram timings
via dtsi, but it possible to use same timings dtsi for given
frequency even though the configured board sdram do support
single channel with different size by dynamically detect the
stride value.

Example, NanoPi NEO4 do have DDR3-1866, but with single channel
and 1GB size with dynamic stride detection it is possible to
use existing rk3399-sdram-ddr3-1866.dtsi whose stride,
number of channels and capacity it support is d efferent.

So, add initial support to calculate the stride value for
2 channels sdram, which is available by default on existing
boards.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: YouMin Chen <cym@rock-chips.com>
Reviewed-by: Kever Yang <Kever.yang@rock-chips.com>
2019-07-19 11:11:10 +08:00
..
mediatek ram: MediaTek: add DDR3 driver for MT7629 SoC 2018-11-28 23:04:53 -05:00
rockchip ram: rk3399: Compute stride for 2 channels 2019-07-19 11:11:10 +08:00
stm32mp1 ram: stm32mp1_ram: Fix warnings when compiling with W=1 2019-07-12 11:50:56 +02:00
bmips_ram.c ram: bmips: Remove DM_FLAG_PRE_RELOC flag 2018-11-14 09:16:28 -08:00
k3-am654-ddrss.c ram: Introduce K3 AM654 DDR Sub System driver 2018-11-16 16:51:58 -05:00
k3-am654-ddrss.h ram: Introduce K3 AM654 DDR Sub System driver 2018-11-16 16:51:58 -05:00
Kconfig ram: rockchip: Add initial Kconfig 2019-07-19 11:11:09 +08:00
Makefile ram: MediaTek: add DDR3 driver for MT7629 SoC 2018-11-28 23:04:53 -05:00
mpc83xx_sdram.c mpc83xx: Introduce ARCH_MPC837X 2019-05-20 13:50:34 +02:00
ram-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_ram.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_sdram.c ram: stm32_sdram: Adds stm32f429-disco fixes for HardFault at booting 2018-05-26 18:19:17 -04:00