This series adds support for the Phytec i.MX8 SoM. It a minimal i2c EEPROM read helper for the PBL and import + adopts the Phytec SOM detection from u-boot. The Phytec SOM detection reads and parses the EEPROM on the SOM to figure out the size of the populated RAM. Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- Marc Kleine-Budde (3): i2c: add <pbl/eeprom.h> for PBL use common: board: phytec: import SoM detection for imx8m based SoM from u-boot ARM: i.MX8MM: add Phytec i.MX8 SoM support arch/arm/boards/Makefile | 1 + arch/arm/boards/phytec-som-imx8mm/Makefile | 4 + arch/arm/boards/phytec-som-imx8mm/board.c | 40 + .../flash-header-imx8mm-phyboard-polis-rdk.imxcfg | 7 + arch/arm/boards/phytec-som-imx8mm/lowlevel.c | 130 ++ arch/arm/boards/phytec-som-imx8mm/lowlevel.h | 8 + arch/arm/boards/phytec-som-imx8mm/lpddr4-timing.c | 1852 ++++++++++++++++++++ arch/arm/dts/Makefile | 1 + arch/arm/dts/imx8mm-phyboard-polis-rdk.dts | 60 + arch/arm/mach-imx/Kconfig | 48 + common/boards/Kconfig | 7 + common/boards/Makefile | 1 + common/boards/phytec/Makefile | 4 + common/boards/phytec/phytec-som-detection.c | 209 +++ common/boards/phytec/phytec-som-imx8m-detection.c | 151 ++ images/Makefile.imx | 5 + include/pbl/eeprom.h | 34 + include/phytec-som-detection.h | 69 + include/phytec-som-imx8m-detection.h | 19 + 19 files changed, 2650 insertions(+) --- base-commit: e7a35fb8e6f74d03fc8bed997c025d0eee2b88e0 change-id: 20230606-phytec-som-imx8mm-2c90276fb58c Best regards, -- Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>