[U-Boot] [PATCH 1/7] nand_spl: remove static for nand_load

Haiying Wang Haiying.Wang at freescale.com
Mon Aug 16 10:02:01 CEST 2010


so it can be called in other file.

Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>
---
 nand_spl/nand_boot_fsl_elbc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nand_spl/nand_boot_fsl_elbc.c b/nand_spl/nand_boot_fsl_elbc.c
index 9547d44..efac293 100644
--- a/nand_spl/nand_boot_fsl_elbc.c
+++ b/nand_spl/nand_boot_fsl_elbc.c
@@ -47,7 +47,7 @@ static void nand_wait(void)
 	}
 }
 
-static void nand_load(unsigned int offs, int uboot_size, uchar *dst)
+void nand_load(unsigned int offs, int uboot_size, uchar *dst)
 {
 	fsl_lbc_t *regs = LBC_BASE_ADDR;
 	uchar *buf = (uchar *)CONFIG_SYS_NAND_BASE;
-- 
1.7.0






More information about the U-Boot mailing list