Skip to content

Big work on sunxi DW DRAM controllers and some new DDR type support

André Przywara u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 of 12 patches 0 repliesNew

5 of 12 patches are in this archive. The cover letter announces 12.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
5/12sunxi: Add selective DRAM type and timing+0 -00 replies
11/12sunxi: add LPDDR3 timing from stock boot0+0 -01 reply
12/12sunxi: add a defconfig for SoPine w/ official baseboard+0 -00 replies
12/12sunxi: add a defconfig for SoPine w/ official baseboard+0 -00 replies
12/12sunxi: add a defconfig for SoPine w/ official baseboard+0 -01 reply

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchAndre Przywara
5/12R-b
11/12
12/12
12/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/12] Big work on sunxi DW DRAM controllers and some new DDR type support
Quoted 44 lines · Jagan Teki
Quoted 28 lines · Icenowy Zheng

This patchset contains several works on the sunxi DesignWare DRAM controllers.

The 1st patch made an option for H3-like DRAM controllers (DesignWare ones), which can ease further import of alike controllers.

The 2nd and 3rd patches are for supporting 16-bit DW DRAM controllers, in order to add V3s DRAM support (The controller on V3s is 16-bit).

The 4th patch adds bank detection code, in order to support some DDR2 chips.

The 5th patch adds a framework for select DRAM type and timing -- it's needed for boards that use DRAM chips rather than DDR3.

The 6th patch enables dual rank detection in the DW DRAM code on SoCs except R40. For R40 the dual rank facility is still not so clear, so it's temporarily disabled.

The 7th~9th patches enables support for DRAM initialization and SPL for the V3s SoC, which integrates a DDR2 chip.

The 10th and 11th patches adds support for LPDDR3, with the stock boot0 timing. (Seen in A83T boot0 source and some leaked H5/R40 libdram source)

The 12th patches adds a defconfig for SoPine w/ official baseboard, which utilizes LPDDR3.

Quoted 14 lines

Icenowy Zheng (12):
sunxi: makes an invisible option for H3-like DRAM controllers
sunxi: Rename bus-width related macros in H3 DRAM code
sunxi: add option for 16-bit DW DRAM controller
sunxi: add bank detection code to H3 DRAM initialization code
sunxi: Add selective DRAM type and timing
sunxi: enable dual rank detection in DesignWare-like DRAM code
sunxi: add support for the DDR2 in V3s SoC
sunxi: add support for V3s DRAM controller
sunxi: enable DRAM initialization and SPL for V3s SoC
sunxi: add LPDDR3 DRAM type support for DesignWare-like DRAM
controller
sunxi: add LPDDR3 timing from stock boot0
sunxi: add a defconfig for SoPine w/ official baseboard

Quoted 2 lines

Can you rebase on master and sen it again, difficult to fix the things while applying.

... maybe on the way fix the minor things I mentioned in the lower part of my reply to 11/12?
https://lists.denx.de/pipermail/u-boot/2017-May/290436.html

Cheers,
Andre.