mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00: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:
parent
b2a6dfe4f8
commit
773b5940b5
4 changed files with 108 additions and 62 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue