]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
imx: mx6: ddr: add LPDDR2 support
authorPeng Fan <Peng.Fan@freescale.com>
Mon, 17 Aug 2015 08:11:04 +0000 (16:11 +0800)
committerStefano Babic <sbabic@denx.de>
Wed, 2 Sep 2015 13:34:12 +0000 (15:34 +0200)
commiteb796cbb69a39eb08b08e1715e21c8034cd349b7
tree6e9ca6b153217ecc02fcfa5b7cd2292e8769fd13
parentf2ff834365296151b24bf8617f1f6dd070bdce9e
imx: mx6: ddr: add LPDDR2 support

Add LPDDR2 support:
1. Implement a function mx6_lpddr2_cfg to initialize MMDC for LPDDR2.
2. Introduce a structure mx6_lpddr2_cfg, most entrys are same to
   mx6_ddr3_cfg, but still keep it a single one for easy to choose
   parameters for LPDDR2.
3. If ddr_type is LPDDR2, use mx6_lpddr2_cfg to init MMDC.
4. Update comments.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
arch/arm/cpu/armv7/mx6/ddr.c
arch/arm/include/asm/arch-mx6/mx6-ddr.h