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

so it can be called in other file.
Signed-off-by: Haiying Wang Haiying.Wang@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;

Dear Haiying Wang,
In message 1281945721.24612.11.camel@localhost.localdomain you wrote:
so it can be called in other file.
Signed-off-by: Haiying Wang Haiying.Wang@freescale.com
nand_spl/nand_boot_fsl_elbc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
That commit should be squashed with the other one that actually makes use of this.
Best regards,
Wolfgang Denk

On Mon, 2010-16-08 at 12:09 +0200, Wolfgang Denk wrote:
Dear Haiying Wang,
In message 1281945721.24612.11.camel@localhost.localdomain you wrote:
so it can be called in other file.
Signed-off-by: Haiying Wang Haiying.Wang@freescale.com
nand_spl/nand_boot_fsl_elbc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
That commit should be squashed with the other one that actually makes use of this.
Will squash this one with patch 3/7 for sram boot.
Thanks.
Haiying
participants (2)
-
Haiying Wang
-
Wolfgang Denk