[PATCH v3 00/17] imx9: switch to bootstd for i.MX93/1 EVK/QSB and i.MX8M EVK

Peng Fan (OSS)
2025-01-09T02:23:31Z

Switch to bootstd for NXP i.MX9/8M boards with a bsp_bootcmd as fallback.

Some cleanups are also included together with this patchset

CI: https://dev.azure.com/pengfan/uboot-ci/_build/results?buildId=17&view=results

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
Changes in v3:
- Separate driver and dts changes for patch16 in V2
- Link to v2: https://lore.kernel.org/r/20250107-imx-bootstd-v2-0-97671b1694cd@nxp.com

Changes in v2:
- Separate cleanup headers to separate patch
- Separate drop global data to separate patch
- Drop CONFIG_ENV_SOURCE_FILE since same as default
- Link to v1: https://lore.kernel.org/r/20250104-imx-bootstd-v1-0-e09618cc1d65@nxp.com

---
Peng Fan (17):
imx: imx93_evk: switch to BOOTSTD
imx: imx93_qsb: switch to BOOTSTD
imx: imx91_evk: switch to BOOTSTD
imx: imx8mp_evk: Enable dynamic settings to mmcdev and mmcroot
imx: imx8mp_evk: Switch to BOOTSTD
imx: imx8mn_evk: Cleanup headers
imx: imx8mn_evk: Drop DECLARE_GLOBAL_DATA_PTR
imx: imx8mn_evk: Enable dynamic settings to mmcdev and mmcroot
imx: imx8mn_evk: Switch to BOOTSTD
imx: imx8mm_evk: Enable dynamic settings to mmcdev and mmcroot
imx: imx8mm_evk: Switch to BOOTSTD
imx: imx8mq_evk: Cleanup headers
imx: imx8mq_evk: Drop DECLARE_GLOBAL_DATA_PTR
imx: imx8mq_evk: Enable dynamic settings to mmcdev and mmcroot
imx: imx8mq_evk: Switch to BOOTSTD
imx: imx93-11x11-evk: drop duplicated nodes
gpio: adp5585: Update compatible string

arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 118 ---------------------------
arch/arm/mach-imx/imx8m/Kconfig | 8 ++
arch/arm/mach-imx/imx9/Kconfig | 6 ++
board/freescale/common/Makefile | 2 +-
board/freescale/imx8mm_evk/imx8mm_evk.c | 3 +
board/freescale/imx8mm_evk/imx8mm_evk.env | 67 +++++++++++++++
board/freescale/imx8mn_evk/imx8mn_evk.c | 12 +--
board/freescale/imx8mn_evk/imx8mn_evk.env | 67 +++++++++++++++
board/freescale/imx8mp_evk/imx8mp_evk.c | 5 ++
board/freescale/imx8mp_evk/imx8mp_evk.env | 57 +++++++++++++
board/freescale/imx8mq_evk/imx8mq_evk.c | 29 ++-----
board/freescale/imx8mq_evk/imx8mq_evk.env | 60 ++++++++++++++
board/freescale/imx91_evk/imx91_evk.env | 29 ++++++-
board/freescale/imx93_evk/imx93_evk.env | 88 ++++++++++++++++++++
board/freescale/imx93_qsb/imx93_qsb.env | 29 ++++++-
configs/imx8mm_evk_defconfig | 3 +-
configs/imx8mm_evk_fspi_defconfig | 4 +-
configs/imx8mn_evk_defconfig | 2 +-
configs/imx8mp_evk_defconfig | 2 +-
configs/imx8mq_evk_defconfig | 3 +-
configs/imx91_11x11_evk_defconfig | 3 +-
configs/imx91_11x11_evk_inline_ecc_defconfig | 3 +-
configs/imx93_11x11_evk_defconfig | 2 +-
configs/imx93_9x9_qsb_defconfig | 3 +-
configs/imx93_9x9_qsb_inline_ecc_defconfig | 3 +-
drivers/gpio/adp5585_gpio.c | 2 +-
include/configs/imx8mm_evk.h | 22 -----
include/configs/imx8mn_evk.h | 30 -------
include/configs/imx8mp_evk.h | 21 -----
include/configs/imx8mq_evk.h | 22 -----
include/configs/imx93_evk.h | 105 ------------------------
31 files changed, 444 insertions(+), 366 deletions(-)
---
base-commit: ec9263b4f15c4cf82eb6a211c67baa6385065b8e
change-id: 20241231-imx-bootstd-abbf2e9e0d75

Best regards,
--
Peng Fan <peng.fan@nxp.com>