[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.w...@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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 1/7] nand_spl: remove static for nand_load
Dear Haiying Wang, In message 1281945721.24612.11.ca...@localhost.localdomain you wrote: so it can be called in other file. Signed-off-by: Haiying Wang haiying.w...@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 -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Winners never talk about glorious victories. That's because they're the ones who see what the battlefield looks like afterwards. It's only the losers who have glorious victories. - Terry Pratchett, _Small Gods_ ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
Re: [U-Boot] [PATCH 1/7] nand_spl: remove static for nand_load
On Mon, 2010-16-08 at 12:09 +0200, Wolfgang Denk wrote: Dear Haiying Wang, In message 1281945721.24612.11.ca...@localhost.localdomain you wrote: so it can be called in other file. Signed-off-by: Haiying Wang haiying.w...@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 ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot