mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +02:00
spl: common: Move FAT funcs to a common file
Move the FAT functions to a common location for reuse. Signed-off-by: Dan Murphy <dmurphy@ti.com>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include <linux/compiler.h>
|
||||
#include <asm/spl.h>
|
||||
|
||||
|
||||
/* Boot type */
|
||||
#define MMCSD_MODE_UNDEFINED 0
|
||||
#define MMCSD_MODE_RAW 1
|
||||
@@ -60,6 +61,10 @@ void spl_spi_load_image(void);
|
||||
/* Ethernet SPL functions */
|
||||
void spl_net_load_image(const char *device);
|
||||
|
||||
/* SPL FAT image functions */
|
||||
int spl_load_image_fat(block_dev_desc_t *block_dev, int partition, const char *filename);
|
||||
int spl_load_image_fat_os(block_dev_desc_t *block_dev, int partition);
|
||||
|
||||
#ifdef CONFIG_SPL_BOARD_INIT
|
||||
void spl_board_init(void);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user