Re: [PATCH v2] rockchip: load env from boot MMC device

2024-03-14 Thread Kever Yang
On 2024/3/8 11:00, Ben Wolsieffer wrote: Currently, if the environment is stored on an MMC device, the device number is hardcoded by CONFIG_SYS_MMC_ENV_DEV. This is problematic because many boards can choose between booting from an SD card or a removable eMMC. For example, the Rock64 defconfig

Re: [PATCH v2] rockchip: load env from boot MMC device

2024-03-08 Thread Quentin Schulz
Hi Ben, On 3/8/24 04:00, Ben Wolsieffer wrote: [Some people who received this message don't often get email from benwolsief...@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Currently, if the environment is stored on an MMC device, the device number

[PATCH v2] rockchip: load env from boot MMC device

2024-03-07 Thread Ben Wolsieffer
Currently, if the environment is stored on an MMC device, the device number is hardcoded by CONFIG_SYS_MMC_ENV_DEV. This is problematic because many boards can choose between booting from an SD card or a removable eMMC. For example, the Rock64 defconfig sets CONFIG_SYS_MMC_ENV_DEV=1, which