mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Layerscape LS1028a: add DDR support
@ 2023-12-19 13:18 Sascha Hauer
  2023-12-19 13:18 ` [PATCH 1/2] fsl-ddr: remove duplicate prototype Sascha Hauer
  2023-12-19 13:18 ` [PATCH 2/2] fsl-ddr: make endianess runtime decision Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2023-12-19 13:18 UTC (permalink / raw)
  To: Barebox List

The existing DDR driver can be re-used for LS1028a. We just have to swap
the endianess of the register accesses.

Sascha Hauer (2):
  fsl-ddr: remove duplicate prototype
  fsl-ddr: make endianess runtime decision

 arch/arm/boards/ls1021aiot/lowlevel.c |  2 +-
 arch/arm/boards/ls1046ardb/lowlevel.c |  2 +-
 arch/arm/boards/tqmls1046a/lowlevel.c |  2 +-
 drivers/ddr/fsl/arm_ddr_gen3.c        |  7 ++-
 drivers/ddr/fsl/fsl_ddr.h             |  1 -
 drivers/ddr/fsl/fsl_ddr_gen4.c        |  7 ++-
 drivers/ddr/fsl/main.c                | 13 ++++--
 include/soc/fsl/fsl_ddr_sdram.h       | 65 ++++++++++++++++++++-------
 8 files changed, 74 insertions(+), 25 deletions(-)

-- 
2.39.2




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

end of thread, other threads:[~2023-12-19 13:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-19 13:18 [PATCH 0/2] Layerscape LS1028a: add DDR support Sascha Hauer
2023-12-19 13:18 ` [PATCH 1/2] fsl-ddr: remove duplicate prototype Sascha Hauer
2023-12-19 13:18 ` [PATCH 2/2] fsl-ddr: make endianess runtime decision Sascha Hauer

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