summaryrefslogtreecommitdiffstats
path: root/drivers/phy/ti-pipe3-phy.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-12-18 15:26:45 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2021-01-11 14:59:55 +0100
commitaa3c7912cb6cac8a214e5aa5a1a4251303c9a2c5 (patch)
tree13a89d850cd0545404c00b2ff6d2f72fdcc55aa1 /drivers/phy/ti-pipe3-phy.c
parentd50b73643fb78b048ba1568486e2ff662ec10067 (diff)
downloadu-boot-aa3c7912cb6cac8a214e5aa5a1a4251303c9a2c5.tar.gz
u-boot-aa3c7912cb6cac8a214e5aa5a1a4251303c9a2c5.tar.xz
u-boot-aa3c7912cb6cac8a214e5aa5a1a4251303c9a2c5.zip
board: amlogic: add MMC boot device detection for environment load
Detect eMMC or SD card boot on Odroid-C4/N2 and Khadas VIM3(l) boards and report proper MMC device for the environment loading code. This allows to automatically load and store environment variables on the FAT partition or RAW offset of the MMC device without the need to use different configurations on eMMC and SD card. To use this feature with environment stored on FAT partition, one has to specify an empty device part (i.e. ":1" for the first partition) in CONFIG_ENV_FAT_DEVICE_AND_PART to let the code to set the device to the value returned by mmc_get_env_dev() function. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'drivers/phy/ti-pipe3-phy.c')
0 files changed, 0 insertions, 0 deletions