commit | 58c76e63f17f87afdc45ec32a84c5e86fc2b6fdd | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Thu Oct 10 16:11:24 2019 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Sun Oct 13 22:49:11 2019 +0200 |
tree | 51025156e3b9144e59dcc165da6853a6de38ff1d | |
parent | 309ce98fcbc186789f11794af491f8e6c9627443 [diff] |
imx: tpc70: Add board_boot_order() to distinguish between eMMC and SD boot The TPC70 can boot from SD card (debug/development) and eMMC (production). The board_boot_order() function provides a run time check for the device from which one wants to boot (it is selected by GPIO pins setup). Moreover, a fallback to SD card is provided if the detection is not possible or working properly. Signed-off-by: Lukasz Majewski <lukma@denx.de>