Milk-V Mars CM and Mars CM Lite SoM's were formerly supported v2024.07 to v2025.01 and then absent since the OF_UPSTREAM transition of starfive visionfive2 multi-board support. Upstream patches are in for Linux v6.18-rc1 and available through devicetree-rebasing so let's re-introduce support for these boards.
Sorting of OF_LIST is kept consistent with `LANG=C sort`, and callbacks in SPL for dts selection are ordered the same. Logic for setting fdtfile env variable corresponds with the sorting of OF_LIST and not the representative EEPROM value comparisons. This series depends on: "dts: starfive: cherry-pick jh7110 updates from v6.18-rc1-dts" https://lore.kernel.org/u-boot/[email protected]/ Changes since RFC v1: - Drop patch 1/4 "riscv: dts: starfive: Add Milk-V Mars CM and Mars CM Lite from upstream Linux for-next" - Drop patch 3/4 "riscv: dts: Add placeholder files for pending upstream Milk-V Mars CM and Mars CM Lite" - Add patch for basic documentation stub. This should be expanded in future with a refresh of all the starfive boards' user docs. E Shattow (3): board: starfive: visionfive2: Add Milk-V Mars CM and Mars CM Lite selection by product_id configs: starfive: Add Milk-V Mars CM and Mars CM Lite to visionfive2 board: starfive: Add initial Milk-V Mars CM and Mars CM Lite user documentation board/starfive/visionfive2/spl.c | 8 +++++++ .../visionfive2/starfive_visionfive2.c | 6 +++++ configs/starfive_visionfive2_defconfig | 2 +- doc/board/starfive/index.rst | 2 ++ doc/board/starfive/milkv_marscm_emmc.rst | 24 +++++++++++++++++++ doc/board/starfive/milkv_marscm_lite.rst | 24 +++++++++++++++++++ 6 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 doc/board/starfive/milkv_marscm_emmc.rst create mode 100644 doc/board/starfive/milkv_marscm_lite.rst -- 2.50.0

