The phyCORE-i.MX 93 is available in various variants (e.g. different ram sizes, eMMC HS400 yes/no). It's eeprom contains information which features the existing module supports.
Extend the existing board-code to support all the SOM variants. The spl/u-boot evaluates the eeprom information and enables supported features accordingly. The resulting spl and u-boot binary is able to boot each phyCORE-i.MX 93 SOM variant on each carrier board. Christoph Stoidner (3): board: phytec: phycore-imx93: Add 2GB LPDDR4X RAM timings board: phytec: imx93: Add eeprom-based hardware introspection board: phytec: imx93: Add phyCORE-i.MX93 support all SOM variants arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi | 33 +- arch/arm/mach-imx/imx9/Kconfig | 2 + arch/arm/mach-imx/imx9/soc.c | 2 +- board/phytec/common/Kconfig | 8 + board/phytec/common/Makefile | 1 + board/phytec/common/imx93_som_detection.c | 88 ++ board/phytec/common/imx93_som_detection.h | 33 + board/phytec/phycore_imx93/Kconfig | 28 + board/phytec/phycore_imx93/MAINTAINERS | 6 +- board/phytec/phycore_imx93/lpddr4_timing.c | 794 ++++++++++++++++-- board/phytec/phycore_imx93/phycore-imx93.c | 52 ++ board/phytec/phycore_imx93/spl.c | 58 ++ configs/imx93-phycore_defconfig | 156 ++++ 13 files changed, 1196 insertions(+), 65 deletions(-) create mode 100644 board/phytec/common/imx93_som_detection.c create mode 100644 board/phytec/common/imx93_som_detection.h create mode 100644 configs/imx93-phycore_defconfig -- 2.34.1

