summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2022-07-06 18:54:29 -0400
committerTom Rini <[email protected]>2022-07-06 18:54:29 -0400
commitcb9843bda3e500eb4add1927be4ed72077a69774 (patch)
tree27b71ddf0129e0f65ede75b0a612e37cc8605086 /include
parent4b7d0b24c7047c70d13db953b950a549accb8e14 (diff)
parent847505a3eefdadf44b4a2cc9325c5dcf7aa1cfa2 (diff)
Merge branch '2022-07-06-platform-updates' into next
- Assorted updates for Toradex, TI, Aspeed and Nuvoton platforms
Diffstat (limited to 'include')
-rw-r--r--include/spl.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 83ac583e0b4..cc78bc3e318 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -378,6 +378,22 @@ void preloader_console_init(void);
u32 spl_boot_device(void);
/**
+ * spl_spi_boot_bus() - Lookup function for the SPI boot bus source.
+ *
+ * This function returns the SF bus to load from.
+ * If not overridden, it is weakly defined in common/spl/spl_spi.c.
+ */
+u32 spl_spi_boot_bus(void);
+
+/**
+ * spl_spi_boot_cs() - Lookup function for the SPI boot CS source.
+ *
+ * This function returns the SF CS to load from.
+ * If not overridden, it is weakly defined in common/spl/spl_spi.c.
+ */
+u32 spl_spi_boot_cs(void);
+
+/**
* spl_mmc_boot_mode() - Lookup function for the mode of an MMC boot source.
* @boot_device: ID of the device which the MMC driver wants to read
* from. Common values are e.g. BOOT_DEVICE_MMC1,