diff options
author | Tom Rini <trini@konsulko.com> | 2021-07-17 10:52:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-17 10:52:21 -0400 |
commit | d5dbc661c3041e910e161a95fca9e615d85730ac (patch) | |
tree | aff587483c785b8384de496d6670e9824eb3e703 /include/spl.h | |
parent | c39946a2e2d062025c9fc8b34587dfdd45fd8703 (diff) | |
parent | edf95bdeddeab8f0fd7b88d4865fbc6e99071c73 (diff) |
Merge tag 'u-boot-imx-20210717' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
i.MX
----
- mx7ulp : fix WDOG
- imx8 : Phytec
- USB3 support for i.MX8
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/8277
Diffstat (limited to 'include/spl.h')
-rw-r--r-- | include/spl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h index cee9a42ddb..c643943482 100644 --- a/include/spl.h +++ b/include/spl.h @@ -357,6 +357,29 @@ u32 spl_mmc_boot_mode(const u32 boot_device); * If not overridden, it is weakly defined in common/spl/spl_mmc.c. */ int spl_mmc_boot_partition(const u32 boot_device); + +struct mmc; +/** + * default_spl_mmc_emmc_boot_partition() - eMMC boot partition to load U-Boot from. + * mmc: Pointer for the mmc device structure + * + * This function should return the eMMC boot partition number which + * the SPL should load U-Boot from (on the given boot_device). + */ +int default_spl_mmc_emmc_boot_partition(struct mmc *mmc); + +/** + * spl_mmc_emmc_boot_partition() - eMMC boot partition to load U-Boot from. + * mmc: Pointer for the mmc device structure + * + * This function should return the eMMC boot partition number which + * the SPL should load U-Boot from (on the given boot_device). + * + * If not overridden, it is weakly defined in common/spl/spl_mmc.c + * and calls default_spl_mmc_emmc_boot_partition(); + */ +int spl_mmc_emmc_boot_partition(struct mmc *mmc); + void spl_set_bd(void); /** |