u-boot/board/toradex
Hiago De Franco 0c39564d02 toradex: colibri_imx7: Enable nand/emmc detection and set boot variant
Add detection of eMMC vs NAND devices on the Colibri iMX7
board. A GPIO is configured to detect the presence of an on-board resistor
that is configured differently based on the flash memory used. Depending on
the detection result, the 'variant' environment variable is set to '-emmc'
or cleared, indicating the type of storage device.

This enhancement improves variant detection during system initialization
through USB recovery mode, where U-Boot is loaded directly to RAM. This
allows variant detection for an accurate device tree selection.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
2023-10-16 08:46:01 +02:00
..
apalis-imx8 MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
apalis-tk1 common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
apalis_imx6 treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
apalis_t30 MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
colibri-imx6ull MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
colibri-imx8x MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
colibri_imx6 treewide: rework linker symbol declarations in sections header 2023-08-09 09:21:42 -04:00
colibri_imx7 toradex: colibri_imx7: Enable nand/emmc detection and set boot variant 2023-10-16 08:46:01 +02:00
colibri_t20 MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
colibri_t30 MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
colibri_vf MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00
common toradex: tdx-cfg-block: add verdin am62 skus 2023-08-04 13:32:39 -04:00
verdin-am62 board: verdin-am62: fix check for minimum memory size 2023-09-08 10:07:11 -04:00
verdin-imx8mm board: toradex: verdin-imx8mm: set fixed LPDDR4 refresh rate as per errata ERR050805 2023-10-16 08:46:01 +02:00
verdin-imx8mp MAINTAINERS: Add a number of "common" directories 2023-07-25 12:44:47 -04:00