Skip to content

sunxi: assorted fixes to DRAM and clock init

Andre Przywara linux-sunxi u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sunxi: a133: dram: fix data type for address variablearch/arm/mach-sunxi/dram_sun50i_a133.c+1 -11 reply
2/3sunxi: spl: initialise timer before clocksarch/arm/mach-sunxi/board.c+1 -15 replies
3/3sunxi: H616: dram: fix LPDDR3 mode register settingsarch/arm/mach-sunxi/dram_sun50i_h616.c+6 -63 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchJernej Skrabec
1/3R-b
2/3R-b
3/3R-b

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

Read the v1 thread

Cover letter [PATCH 0/3] sunxi: assorted fixes to DRAM and clock init

Some assorted fixes for bugs I found while debugging and researching the boot and DRAM init process on some chips.
Patch 1 and 2 fix bugs hidden by the fact that the code in question would ever be compiled for arm64 only, but for an experiment I compiled the A133 SPL for 32-bit, which revealed those issues.
Patch 3 fixes the mode register setup for the H616 boards with LPDDR3, this was found when wrapping the mode register accesses into some functions, for a later cleanup patch.

Please have a look!

Cheers,
Andre

Andre Przywara (3):
sunxi: a133: dram: fix data type for address variable
sunxi: spl: initialise timer before clocks
sunxi: H616: dram: fix LPDDR3 mode register settings

 arch/arm/mach-sunxi/board.c            |  2 +-
 arch/arm/mach-sunxi/dram_sun50i_a133.c |  2 +-
 arch/arm/mach-sunxi/dram_sun50i_h616.c | 12 ++++++------
 3 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.46.3