From 773b5940b5f2fb5d1041c6f4db5796121ccd29c5 Mon Sep 17 00:00:00 2001 From: Dan Murphy Date: Thu, 16 Jan 2014 11:23:29 -0600 Subject: spl: common: Move FAT funcs to a common file Move the FAT functions to a common location for reuse. Signed-off-by: Dan Murphy --- include/spl.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/spl.h') diff --git a/include/spl.h b/include/spl.h index 2bd6e16a0e..cd5cd26501 100644 --- a/include/spl.h +++ b/include/spl.h @@ -11,6 +11,7 @@ #include #include + /* 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 -- cgit