Skip to content
Snippets Groups Projects
Commit ebfc0c52 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[i.MX8] make spl_board_boot_device overwritable by specific board implementation

parent affde226
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,8 @@ void boot_validate (int gpio, const iomux_v3_cfg_t gpio_pad) {
* | BOOT DEVICE |
* |__________________________________________________________________________|
*/
int spl_board_boot_device(enum boot_device boot_dev_spl) {
//default method that can be overwritten
__weak int spl_board_boot_device(enum boot_device boot_dev_spl) {
switch (boot_dev_spl) {
case MMC1_BOOT:
return BOOT_DEVICE_MMC1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment