diff mbox series

ARM: configs: imx8mm: Sync i.MX8M Mini Toradex Verdin and Menlo board configs

Message ID 20230405235114.207219-1-marex@denx.de
State Superseded
Delegated to: Stefano Babic
Headers show
Series ARM: configs: imx8mm: Sync i.MX8M Mini Toradex Verdin and Menlo board configs | expand

Commit Message

Marek Vasut April 5, 2023, 11:51 p.m. UTC
Synchronize the i.MX8M Mini Toradex Verdin based Menlo board config
with i.MX8M Mini Toradex Verdin carrier board. This enables DM MDIO,
eMMC HS modes, TMU for thermal monitoring, LTO and multiple commands
(hexdump, pmic, read, time).

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Marek Vasut <marex@denx.de>
Cc: Olaf Mandel <o.mandel@menlosystems.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
---
 configs/imx8mm-mx8menlo_defconfig | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

Comments

Peng Fan (OSS) April 7, 2023, 3:28 a.m. UTC | #1
On 4/6/2023 7:51 AM, Marek Vasut wrote:
> Synchronize the i.MX8M Mini Toradex Verdin based Menlo board config
> with i.MX8M Mini Toradex Verdin carrier board. This enables DM MDIO,
> eMMC HS modes, TMU for thermal monitoring, LTO and multiple commands
> (hexdump, pmic, read, time).
> 
> Signed-off-by: Marek Vasut <marex@denx.de>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

> ---
> Cc: Marek Vasut <marex@denx.de>
> Cc: Olaf Mandel <o.mandel@menlosystems.com>
> Cc: Peng Fan <peng.fan@nxp.com>
> Cc: Stefano Babic <sbabic@denx.de>
> ---
>   configs/imx8mm-mx8menlo_defconfig | 20 ++++++++++++++++++--
>   1 file changed, 18 insertions(+), 2 deletions(-)
> 
> diff --git a/configs/imx8mm-mx8menlo_defconfig b/configs/imx8mm-mx8menlo_defconfig
> index 0a374aab06d..0bd852a77b9 100644
> --- a/configs/imx8mm-mx8menlo_defconfig
> +++ b/configs/imx8mm-mx8menlo_defconfig
> @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="imx8mm-mx8menlo"
>   CONFIG_SPL_TEXT_BASE=0x7E1000
>   CONFIG_TARGET_IMX8MM_MX8MENLO=y
>   CONFIG_SYS_PROMPT="Verdin iMX8MM # "
> +CONFIG_OF_LIBFDT_OVERLAY=y
>   CONFIG_SPL_MMC=y
>   CONFIG_SPL_SERIAL=y
>   CONFIG_SPL_DRIVERS_MISC=y
> @@ -24,6 +25,7 @@ CONFIG_ENV_OFFSET_REDUND=0xFFFFDE00
>   CONFIG_SYS_LOAD_ADDR=0x40480000
>   CONFIG_SYS_MEMTEST_START=0x40000000
>   CONFIG_SYS_MEMTEST_END=0x80000000
> +CONFIG_LTO=y
>   CONFIG_SYS_MONITOR_LEN=524288
>   CONFIG_FIT=y
>   CONFIG_FIT_EXTERNAL_OFFSET=0x3000
> @@ -61,18 +63,23 @@ CONFIG_SYS_PBSIZE=2081
>   CONFIG_CMD_ASKENV=y
>   # CONFIG_CMD_EXPORTENV is not set
>   # CONFIG_CMD_CRC32 is not set
> +CONFIG_CMD_MD5SUM=y
> +CONFIG_MD5SUM_VERIFY=y
>   CONFIG_CMD_MEMTEST=y
>   CONFIG_CMD_CLK=y
>   CONFIG_CMD_FUSE=y
>   CONFIG_CMD_GPIO=y
>   CONFIG_CMD_I2C=y
>   CONFIG_CMD_MMC=y
> +CONFIG_CMD_READ=y
>   CONFIG_CMD_USB=y
>   CONFIG_CMD_USB_SDP=y
>   CONFIG_CMD_USB_MASS_STORAGE=y
>   CONFIG_CMD_BOOTCOUNT=y
>   CONFIG_CMD_CACHE=y
> +CONFIG_CMD_TIME=y
>   CONFIG_CMD_UUID=y
> +CONFIG_CMD_PMIC=y
>   CONFIG_CMD_REGULATOR=y
>   CONFIG_CMD_BTRFS=y
>   CONFIG_CMD_EXT4_WRITE=y
> @@ -87,7 +94,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
>   CONFIG_SYS_MMC_ENV_PART=1
>   CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
>   CONFIG_USE_ETHPRIME=y
> -CONFIG_ETHPRIME="FEC"
> +CONFIG_ETHPRIME="eth0"
>   CONFIG_VERSION_VARIABLE=y
>   CONFIG_IP_DEFRAG=y
>   CONFIG_TFTP_BLOCKSIZE=4096
> @@ -104,11 +111,19 @@ CONFIG_DM_I2C=y
>   CONFIG_MISC=y
>   CONFIG_I2C_EEPROM=y
>   CONFIG_SUPPORT_EMMC_BOOT=y
> +CONFIG_MMC_IO_VOLTAGE=y
> +CONFIG_SPL_MMC_IO_VOLTAGE=y
> +CONFIG_MMC_UHS_SUPPORT=y
> +CONFIG_SPL_MMC_UHS_SUPPORT=y
> +CONFIG_MMC_HS400_ES_SUPPORT=y
> +CONFIG_MMC_HS400_SUPPORT=y
> +CONFIG_SPL_MMC_HS400_SUPPORT=y
>   CONFIG_FSL_USDHC=y
>   CONFIG_PHYLIB=y
>   CONFIG_PHY_ADDR_ENABLE=y
>   CONFIG_PHY_MICREL=y
>   CONFIG_PHY_MICREL_KSZ90X1=y
> +CONFIG_DM_MDIO=y
>   CONFIG_FEC_MXC=y
>   CONFIG_MII=y
>   CONFIG_SPL_PHY=y
> @@ -131,6 +146,7 @@ CONFIG_SPL_SYSRESET=y
>   CONFIG_SYSRESET_PSCI=y
>   CONFIG_SYSRESET_WATCHDOG=y
>   CONFIG_DM_THERMAL=y
> +CONFIG_IMX_TMU=y
>   CONFIG_USB=y
>   CONFIG_USB_EHCI_HCD=y
>   CONFIG_MXC_USB_OTG_HACTIVE=y
> @@ -143,4 +159,4 @@ CONFIG_CI_UDC=y
>   CONFIG_SDP_LOADADDR=0x40400000
>   CONFIG_USB_GADGET_DOWNLOAD=y
>   CONFIG_IMX_WATCHDOG=y
> -CONFIG_OF_LIBFDT_OVERLAY=y
> +CONFIG_HEXDUMP=y
diff mbox series

Patch

diff --git a/configs/imx8mm-mx8menlo_defconfig b/configs/imx8mm-mx8menlo_defconfig
index 0a374aab06d..0bd852a77b9 100644
--- a/configs/imx8mm-mx8menlo_defconfig
+++ b/configs/imx8mm-mx8menlo_defconfig
@@ -12,6 +12,7 @@  CONFIG_DEFAULT_DEVICE_TREE="imx8mm-mx8menlo"
 CONFIG_SPL_TEXT_BASE=0x7E1000
 CONFIG_TARGET_IMX8MM_MX8MENLO=y
 CONFIG_SYS_PROMPT="Verdin iMX8MM # "
+CONFIG_OF_LIBFDT_OVERLAY=y
 CONFIG_SPL_MMC=y
 CONFIG_SPL_SERIAL=y
 CONFIG_SPL_DRIVERS_MISC=y
@@ -24,6 +25,7 @@  CONFIG_ENV_OFFSET_REDUND=0xFFFFDE00
 CONFIG_SYS_LOAD_ADDR=0x40480000
 CONFIG_SYS_MEMTEST_START=0x40000000
 CONFIG_SYS_MEMTEST_END=0x80000000
+CONFIG_LTO=y
 CONFIG_SYS_MONITOR_LEN=524288
 CONFIG_FIT=y
 CONFIG_FIT_EXTERNAL_OFFSET=0x3000
@@ -61,18 +63,23 @@  CONFIG_SYS_PBSIZE=2081
 CONFIG_CMD_ASKENV=y
 # CONFIG_CMD_EXPORTENV is not set
 # CONFIG_CMD_CRC32 is not set
+CONFIG_CMD_MD5SUM=y
+CONFIG_MD5SUM_VERIFY=y
 CONFIG_CMD_MEMTEST=y
 CONFIG_CMD_CLK=y
 CONFIG_CMD_FUSE=y
 CONFIG_CMD_GPIO=y
 CONFIG_CMD_I2C=y
 CONFIG_CMD_MMC=y
+CONFIG_CMD_READ=y
 CONFIG_CMD_USB=y
 CONFIG_CMD_USB_SDP=y
 CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_CMD_BOOTCOUNT=y
 CONFIG_CMD_CACHE=y
+CONFIG_CMD_TIME=y
 CONFIG_CMD_UUID=y
+CONFIG_CMD_PMIC=y
 CONFIG_CMD_REGULATOR=y
 CONFIG_CMD_BTRFS=y
 CONFIG_CMD_EXT4_WRITE=y
@@ -87,7 +94,7 @@  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_MMC_ENV_PART=1
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_USE_ETHPRIME=y
-CONFIG_ETHPRIME="FEC"
+CONFIG_ETHPRIME="eth0"
 CONFIG_VERSION_VARIABLE=y
 CONFIG_IP_DEFRAG=y
 CONFIG_TFTP_BLOCKSIZE=4096
@@ -104,11 +111,19 @@  CONFIG_DM_I2C=y
 CONFIG_MISC=y
 CONFIG_I2C_EEPROM=y
 CONFIG_SUPPORT_EMMC_BOOT=y
+CONFIG_MMC_IO_VOLTAGE=y
+CONFIG_SPL_MMC_IO_VOLTAGE=y
+CONFIG_MMC_UHS_SUPPORT=y
+CONFIG_SPL_MMC_UHS_SUPPORT=y
+CONFIG_MMC_HS400_ES_SUPPORT=y
+CONFIG_MMC_HS400_SUPPORT=y
+CONFIG_SPL_MMC_HS400_SUPPORT=y
 CONFIG_FSL_USDHC=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ADDR_ENABLE=y
 CONFIG_PHY_MICREL=y
 CONFIG_PHY_MICREL_KSZ90X1=y
+CONFIG_DM_MDIO=y
 CONFIG_FEC_MXC=y
 CONFIG_MII=y
 CONFIG_SPL_PHY=y
@@ -131,6 +146,7 @@  CONFIG_SPL_SYSRESET=y
 CONFIG_SYSRESET_PSCI=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_DM_THERMAL=y
+CONFIG_IMX_TMU=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_MXC_USB_OTG_HACTIVE=y
@@ -143,4 +159,4 @@  CONFIG_CI_UDC=y
 CONFIG_SDP_LOADADDR=0x40400000
 CONFIG_USB_GADGET_DOWNLOAD=y
 CONFIG_IMX_WATCHDOG=y
-CONFIG_OF_LIBFDT_OVERLAY=y
+CONFIG_HEXDUMP=y