U-boot Archive mirror
 help / color / mirror / Atom feed
From: Wadim Egorov <w.egorov@phytec.de>
To: <u-boot@lists.denx.de>, <upstream@lists.phytec.de>
Cc: <trini@konsulko.com>, <nm@ti.com>, <bb@ti.com>,
	<y.moog@phytec.de>, <t.remmet@phytec.de>, <d.schultz@phytec.de>,
	<festevam@gmail.com>, <mkorpershoek@baylibre.com>,
	<joao.goncalves@toradex.com>, <n-jain1@ti.com>,
	<michael@amarulasolutions.com>, <d-gole@ti.com>,
	<sjg@chromium.org>, <clamor95@gmail.com>, <m-chawdhry@ti.com>,
	<afd@ti.com>, <jma@phytec.com>
Subject: [PATCH 0/5] *** phyCORE-AM62x: DDR detection / Inject DDR timing deltas ***
Date: Tue, 7 May 2024 17:17:52 +0200	[thread overview]
Message-ID: <20240507151757.1202825-1-w.egorov@phytec.de> (raw)

PHYTEC stores details about the hardware in an EEPROM on the SoM. We can
utilize this information and chose the proper DDR timings accordingly.

Due to the limited SRAM memory on the AM62x, the concept was to store
only the DDR timings deltas and not their full set, see Patch 4 & 5.

The last patch adds support for a 1 GB and 4 GB RAM variant of the
phyCORE-AM62x.

Patch 4 & 5 are based on
https://patchwork.ozlabs.org/project/uboot/list/?series=404273

Wadim Egorov (5):
  board: phytec: Make AM6 SoM detection depend on I2C
  board: phytec: Fix function definitions in AM6x SOM detection
  arm: mach-k3: am625: Call do_board_detect() before DDR probing
  board: phytec: common: Introduce a method to inject DDR timings deltas
  board: phytec: am62x: Add support for 1 & 4 GB RAM variants

 arch/arm/mach-k3/am625_init.c                 |   2 +
 board/phytec/common/Kconfig                   |   2 +
 board/phytec/common/am6_som_detection.c       |  18 +-
 board/phytec/common/am6_som_detection.h       |   8 +
 board/phytec/common/k3/Makefile               |   1 +
 board/phytec/common/k3/k3_ddrss_patch.c       |  68 ++++++
 board/phytec/common/k3/k3_ddrss_patch.h       |  28 +++
 board/phytec/phycore_am62x/MAINTAINERS        |   1 +
 board/phytec/phycore_am62x/phycore-am62x.c    | 152 ++++++++++++-
 board/phytec/phycore_am62x/phycore-ddr-data.h | 206 ++++++++++++++++++
 configs/phycore_am62x_a53_defconfig           |   4 +
 configs/phycore_am62x_r5_defconfig            |   4 +
 12 files changed, 483 insertions(+), 11 deletions(-)
 create mode 100644 board/phytec/common/k3/k3_ddrss_patch.c
 create mode 100644 board/phytec/common/k3/k3_ddrss_patch.h
 create mode 100644 board/phytec/phycore_am62x/phycore-ddr-data.h

-- 
2.34.1


             reply	other threads:[~2024-05-07 15:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-07 15:17 Wadim Egorov [this message]
2024-05-07 15:17 ` [PATCH 1/5] board: phytec: Make AM6 SoM detection depend on I2C Wadim Egorov
2024-05-07 15:17 ` [PATCH 2/5] board: phytec: Fix function definitions in AM6x SOM detection Wadim Egorov
2024-05-07 15:17 ` [PATCH 3/5] arm: mach-k3: am625: Call do_board_detect() before DDR probing Wadim Egorov
2024-05-07 15:17 ` [PATCH 4/5] board: phytec: common: Introduce a method to inject DDR timings deltas Wadim Egorov
2024-05-07 15:17 ` [PATCH 5/5] board: phytec: am62x: Add support for 1 & 4 GB RAM variants Wadim Egorov
2024-05-07 16:09   ` Daniel Schultz
2024-05-14 16:26 ` [PATCH 0/5] *** phyCORE-AM62x: DDR detection / Inject DDR timing deltas *** John Ma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240507151757.1202825-1-w.egorov@phytec.de \
    --to=w.egorov@phytec.de \
    --cc=afd@ti.com \
    --cc=bb@ti.com \
    --cc=clamor95@gmail.com \
    --cc=d-gole@ti.com \
    --cc=d.schultz@phytec.de \
    --cc=festevam@gmail.com \
    --cc=jma@phytec.com \
    --cc=joao.goncalves@toradex.com \
    --cc=m-chawdhry@ti.com \
    --cc=michael@amarulasolutions.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=n-jain1@ti.com \
    --cc=nm@ti.com \
    --cc=sjg@chromium.org \
    --cc=t.remmet@phytec.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=upstream@lists.phytec.de \
    --cc=y.moog@phytec.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).