Skip to content

FSL DDR rework

Kumar Gala u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 0 repliesNew
  2. v316 patches 0 repliesSuperseded
  3. v13 patches 0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Add proper SPD definitions for DDR1/2/3common/Makefile common/ddr_spd.c include/ddr_spd.h+354 -00 replies
2/10FSL DDR: Provide a generic set_ddr_laws()drivers/misc/fsl_law.c include/asm-ppc/fsl_law.h+40 -00 replies
3/10FSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code.Makefile cpu/mpc85xx/Makefile cpu/mpc86xx/Makefile +10 more+2573 -20 replies
4/10FSL DDR: Add DDR1 DIMM paramter supportcpu/mpc8xxx/ddr/ddr1_dimm_params.c+343 -00 replies
4/10FSL DDR: Add DDR1 supportcpu/mpc8xxx/ddr/ddr1_dimm_params.c+343 -00 replies
4/10FSL DDR: Add DDR1 support+0 -01 reply
5/10FSL DDR: Add DDR2 DIMM paramter supportcpu/mpc8xxx/ddr/ddr2_dimm_params.c+339 -00 replies
5/10FSL DDR: Add DDR2 supportcpu/mpc8xxx/ddr/ddr2_dimm_params.c+339 -00 replies
5/10FSL DDR: Add DDR2 support+0 -00 replies
6/10FSL DDR: Add 86xx specific register settingcpu/mpc86xx/Makefile cpu/mpc86xx/ddr-8641.c+92 -00 replies
7/10FSL DDR: Convert MPC8641HPCN to new DDR code.board/freescale/mpc8641hpcn/Makefile board/freescale/mpc8641hpcn/ddr.c board/freescale/mpc8641hpcn/mpc8641hpcn.c +1 more+145 -600 replies
8/10FSL DDR: Convert MPC8610HPCD to new DDR code.board/freescale/mpc8610hpcd/Makefile board/freescale/mpc8610hpcd/ddr.c board/freescale/mpc8610hpcd/mpc8610hpcd.c +1 more+106 -290 replies
9/10FSL DDR: Convert SBC8641D to new DDR code.board/sbc8641d/Makefile board/sbc8641d/ddr.c board/sbc8641d/sbc8641d.c +1 more+99 -80 replies
10/10FSL DDR: Remove old SPD support from cpu/mpc86xxcpu/mpc86xx/Makefile cpu/mpc86xx/spd_sdram.c+0 -13520 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [U-Boot] [PATCH v5 00/10] FSL DDR rework

01 - Add proper SPD definitions for DDR1/2/3
02 - FSL DDR: Provide a generic set_ddr_laws()
03 - FSL DDR: Rewrite the FSL mpc8xxx DDR controller setup code. 04 - FSL DDR: Add DDR1 DIMM paramter support
05 - FSL DDR: Add DDR2 DIMM paramter support
06 - FSL DDR: Add 86xx specific register setting
07 - FSL DDR: Convert MPC8641HPCN to new DDR code.
08 - FSL DDR: Convert MPC8610HPCD to new DDR code.
09 - FSL DDR: Convert SBC8641D to new DDR code.
10 - FSL DDR: Remove old SPD support from cpu/mpc86xx

This is the latest spin of the DDR work and hopefully address some of the comments we discussioned on IRC.

I've converted ALL 86xx platforms and if these patches are acceptable I'll go ahead and do the 85xx platforms as a followup.

I've dropped the interactive change at this point.

Patches 03..05 are the core of the DDR support. These patches are split up so they can be

Here is some size data for building the MPC8641HPCN_config:

text data bss dec hex filename

 315244	  29044	  98960	 443248	  6c370	u-boot (baseline)
 320356	  29096	  98960	 448412	  6d79c	u-boot (w/o DDR changes)

------------------------------------------------
5122 52 5164 delta

I think an increase of 5k is worth is for the improvements we get.

- k