summaryrefslogtreecommitdiff
path: root/include/spl.h
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2014-01-16 11:23:29 -0600
committerTom Rini <trini@ti.com>2014-01-24 16:59:21 -0500
commit773b5940b5f2fb5d1041c6f4db5796121ccd29c5 (patch)
tree84fc143845eaa6bf1095260cc20e411fc63b6acd /include/spl.h
parentb2a6dfe4f8d263b9aa45929f1a40cd1143775a81 (diff)
downloadu-boot-imx-773b5940b5f2fb5d1041c6f4db5796121ccd29c5.zip
u-boot-imx-773b5940b5f2fb5d1041c6f4db5796121ccd29c5.tar.gz
u-boot-imx-773b5940b5f2fb5d1041c6f4db5796121ccd29c5.tar.bz2
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>
Diffstat (limited to 'include/spl.h')
-rw-r--r--include/spl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/spl.h b/include/spl.h
index 2bd6e16..cd5cd26 100644
--- a/include/spl.h
+++ b/include/spl.h
@@ -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