[PATCH 0/2] Layerscape LS1028a: add DDR support

Sascha Hauer s.hauer at pengutronix.de
Tue Dec 19 05:18:00 PST 2023


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




More information about the barebox mailing list