commit | 03c4233dfa25ef63f724edac56d8eacf95cacbd5 | [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 | 1181e4a91e4443226e0ca063c9c6975ab88cbd64 [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>