ARM: keystone2: use SPD info to configure K2HK and K2E DDR3
This commit replaces hard-coded EMIF and PHY DDR3 configurations for predefined SODIMMs to a calculated configuration. The SODIMM parameters are read from SODIMM's SPD and used to calculated the configuration. The current commit supports calculation for DDR3 with 1600MHz and 1333MHz only. Signed-off-by:Vitaly Andrianov <vitalya@ti.com> Signed-off-by:
Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by:
Nishanth Menon <nm@ti.com> Reviewed-by:
Tom Rini <trini@konsulko.com>
Showing
- arch/arm/mach-keystone/Makefile 2 additions, 0 deletionsarch/arm/mach-keystone/Makefile
- arch/arm/mach-keystone/ddr3_spd.c 453 additions, 0 deletionsarch/arm/mach-keystone/ddr3_spd.c
- arch/arm/mach-keystone/include/mach/ddr3.h 8 additions, 0 deletionsarch/arm/mach-keystone/include/mach/ddr3.h
- board/ti/ks2_evm/Makefile 2 additions, 2 deletionsboard/ti/ks2_evm/Makefile
- board/ti/ks2_evm/ddr3_cfg.c 1 addition, 158 deletionsboard/ti/ks2_evm/ddr3_cfg.c
- board/ti/ks2_evm/ddr3_cfg.h 2 additions, 9 deletionsboard/ti/ks2_evm/ddr3_cfg.h
- board/ti/ks2_evm/ddr3_k2e.c 23 additions, 28 deletionsboard/ti/ks2_evm/ddr3_k2e.c
- board/ti/ks2_evm/ddr3_k2hk.c 34 additions, 63 deletionsboard/ti/ks2_evm/ddr3_k2hk.c
- include/configs/k2e_evm.h 2 additions, 0 deletionsinclude/configs/k2e_evm.h
- include/configs/k2hk_evm.h 2 additions, 0 deletionsinclude/configs/k2hk_evm.h
Loading
Please register or sign in to comment