aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorBenjamin Hahn <B.Hahn@phytec.de>2024-02-08 13:03:11 +0100
committerFabio Estevam <festevam@denx.de>2024-02-08 10:11:46 -0300
commit8dcf1df48dff339b172d1bce2a38a965ee4aafca (patch)
treed064c410783afa0b4ab1bfc9df6dbcb1f4c29884 /board
parent199229e28b2b2da57c52ee46452f930785cf6002 (diff)
downloadu-boot-8dcf1df48dff339b172d1bce2a38a965ee4aafca.zip
u-boot-8dcf1df48dff339b172d1bce2a38a965ee4aafca.tar.gz
u-boot-8dcf1df48dff339b172d1bce2a38a965ee4aafca.tar.bz2
phycore-imx8mp: add support for booting and flashing emmc via UUU
add support for Serial Downloader Boot via UUU as well as flashing emmc via UUU on USB0 Port of phyBOARD Pollux. Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Benjamin Hahn <B.Hahn@phytec.de>
Diffstat (limited to 'board')
-rw-r--r--board/phytec/phycore_imx8mp/phycore-imx8mp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/phytec/phycore_imx8mp/phycore-imx8mp.c b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
index a8f0821..dbdd6bb 100644
--- a/board/phytec/phycore_imx8mp/phycore-imx8mp.c
+++ b/board/phytec/phycore_imx8mp/phycore-imx8mp.c
@@ -46,6 +46,10 @@ int board_late_init(void)
case MMC3_BOOT:
env_set_ulong("mmcdev", 2);
break;
+ case USB_BOOT:
+ printf("Detect USB boot. Will enter fastboot mode!\n");
+ env_set_ulong("dofastboot", 1);
+ break;
default:
break;
}