public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl
@ 2015-08-17  8:10 Peng Fan
  2015-08-17  8:10 ` [U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs Peng Fan
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Peng Fan @ 2015-08-17  8:10 UTC (permalink / raw)
  To: u-boot

This patch set is to support SPL for mx6slevk board.
But mx6slevk features one LPDDR2 chip. Then we need to first add
LPDDR2 SPL support. Also introduce one ddr_type entry to
differentiate DDR3 and LPDDR2. This patch set also correct tRFC and
tXS for DDR3 4Gb chip.

The LPDDR2 part is implemented referencing MX6SL LPDDR2 Script Aid V0.04.xlsx
and JESD209-2E. I am not DDR expert, can not guarantee that this can
achieve production quality. Please review.

Patchset tested boot on mx6sxsabresd revb and mx6slevk board.

Peng Fan (9):
  imx: mx6: ddr add more register entry for mmdc_p_regs
  imx: mx6: ddr no support MMDC1 for i.MX6SL
  imx: mx6: ddr correct tRFC and tXS
  imx: mx6: ddr add dram io configuration and header file for i.MX6SL
  imx: mx6: ddr add mpzqlp2ctl entry
  imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo
  imx: mx6: ddr init MMDC according to ddr_type
  imx: mx6: ddr: add LPDDR2 support
  imx: mx6slevk: add SPL support

 arch/arm/cpu/armv7/mx6/Kconfig                    |   1 +
 arch/arm/cpu/armv7/mx6/ddr.c                      | 379 +++++++++++++++++++++-
 arch/arm/include/asm/arch-mx6/mx6-ddr.h           | 140 +++++++-
 arch/arm/include/asm/arch-mx6/mx6sl-ddr.h         |  45 +++
 board/barco/platinum/spl_picon.c                  |   1 +
 board/barco/platinum/spl_titanium.c               |   1 +
 board/freescale/mx6sabresd/mx6sabresd.c           |   1 +
 board/freescale/mx6slevk/mx6slevk.c               | 164 ++++++++++
 board/freescale/mx6sxsabresd/mx6sxsabresd.c       |   1 +
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c |   1 +
 board/gateworks/gw_ventana/gw_ventana_spl.c       |   1 +
 board/solidrun/mx6cuboxi/mx6cuboxi.c              |   1 +
 configs/mx6slevk_spl_defconfig                    |   8 +
 include/configs/imx6_spl.h                        |   2 +-
 include/configs/mx6slevk.h                        |   7 +
 15 files changed, 733 insertions(+), 20 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-mx6/mx6sl-ddr.h
 create mode 100644 configs/mx6slevk_spl_defconfig

-- 
1.8.4

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl
@ 2015-08-17  3:29 Peng Fan
  2015-08-17  3:29 ` [U-Boot] [PATCH 2/9] imx: mx6: ddr no support MMDC1 for i.MX6SL Peng Fan
  0 siblings, 1 reply; 15+ messages in thread
From: Peng Fan @ 2015-08-17  3:29 UTC (permalink / raw)
  To: u-boot

This patch set is to support SPL for mx6slevk board.
But mx6slevk features one LPDDR2 chip. Then we need to first add
LPDDR2 SPL support. Also introduce one ddr_type entry to
differentiate DDR3 and LPDDR2. This patch set also correct tRFC and
tXS for DDR3 4Gb chip.

The LPDDR2 part is implemented referencing MX6SL LPDDR2 Script Aid V0.04.xlsx
and JESD209-2E. I am not DDR expert, can not guarantee that this can
achieve production quality. Please review.

Patchset tested boot on mx6sxsabresd revb and mx6slevk board.

Peng Fan (9):
  imx: mx6: ddr add more register entry for mmdc_p_regs
  imx: mx6: ddr no support MMDC1 for i.MX6SL
  imx: mx6: ddr correct tRFC and tXS
  imx: mx6: ddr add dram io configuration and header file for i.MX6SL
  imx: mx6: ddr add mpzqlp2ctl entry
  imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo
  imx: mx6: ddr init MMDC according to ddr_type
  imx: mx6: ddr: add LPDDR2 support
  imx: mx6slevk: add SPL support

 arch/arm/cpu/armv7/mx6/Kconfig                    |   1 +
 arch/arm/cpu/armv7/mx6/ddr.c                      | 379 +++++++++++++++++++++-
 arch/arm/include/asm/arch-mx6/mx6-ddr.h           | 135 +++++++-
 arch/arm/include/asm/arch-mx6/mx6sl-ddr.h         |  45 +++
 board/barco/platinum/spl_picon.c                  |   1 +
 board/barco/platinum/spl_titanium.c               |   1 +
 board/freescale/mx6sabresd/mx6sabresd.c           |   1 +
 board/freescale/mx6slevk/mx6slevk.c               | 164 ++++++++++
 board/freescale/mx6sxsabresd/mx6sxsabresd.c       |   1 +
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c |   1 +
 board/gateworks/gw_ventana/gw_ventana_spl.c       |   1 +
 board/solidrun/mx6cuboxi/mx6cuboxi.c              |   1 +
 configs/mx6slevk_spl_defconfig                    |   8 +
 include/configs/imx6_spl.h                        |   2 +-
 include/configs/mx6slevk.h                        |   7 +
 15 files changed, 728 insertions(+), 20 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-mx6/mx6sl-ddr.h
 create mode 100644 configs/mx6slevk_spl_defconfig

-- 
1.8.4

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-08-31 16:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17  8:10 [U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl Peng Fan
2015-08-17  8:10 ` [U-Boot] [PATCH 1/9] imx: mx6: ddr add more register entry for mmdc_p_regs Peng Fan
2015-08-24  8:02   ` Stefano Babic
2015-08-17  8:10 ` [U-Boot] [PATCH 2/9] imx: mx6: ddr no support MMDC1 for i.MX6SL Peng Fan
2015-08-24  8:02   ` Stefano Babic
2015-08-17  8:10 ` [U-Boot] [PATCH 3/9] imx: mx6: ddr correct tRFC and tXS Peng Fan
2015-08-24  8:02   ` Stefano Babic
2015-08-17  8:11 ` [U-Boot] [PATCH 4/9] imx: mx6: ddr add dram io configuration and header file for i.MX6SL Peng Fan
2015-08-17  8:11 ` [U-Boot] [PATCH 5/9] imx: mx6: ddr add mpzqlp2ctl entry Peng Fan
2015-08-17  8:11 ` [U-Boot] [PATCH 6/9] imx: mx6: ddr add an entry ddr_type for mx6_ddr_sysinfo Peng Fan
2015-08-17  8:11 ` [U-Boot] [PATCH 7/9] imx: mx6: ddr init MMDC according to ddr_type Peng Fan
2015-08-17  8:11 ` [U-Boot] [PATCH 8/9] imx: mx6: ddr: add LPDDR2 support Peng Fan
2015-08-17  8:11 ` [U-Boot] [PATCH 9/9] imx: mx6slevk: add SPL support Peng Fan
2015-08-31 16:52 ` [U-Boot] [PATCH 0/9] imx: mx6: support LPDDR2 and add mx6slevk spl Stefano Babic
  -- strict thread matches above, loose matches on Subject: below --
2015-08-17  3:29 Peng Fan
2015-08-17  3:29 ` [U-Boot] [PATCH 2/9] imx: mx6: ddr no support MMDC1 for i.MX6SL Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox