nand_spl: remove static for nand_load
PATCH 1/7 nand_spl: remove static for nand_load
so it can be called in other file.
Signed-off-by Haiying Wang <[email protected]>
--- nand_spl/nand_boot_fsl_elbc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
nand_spl/nand_boot_fsl_elbc.c +1 -1
@@ -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 ;
Signature · 1 line
1.7.0
PATCH 1/7 nand_spl: remove static for nand_load
Dear Haiying Wang,
Quoted 6 lines · In message <[email protected]> you wrote:
so it can be called in other file.
Signed-off-by Haiying Wang <[email protected]>--- 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
Signature · 7 lines
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: wd at 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_PATCH 1/7 nand_spl: remove static for nand_load
Quoted 5 lines · Wolfgang Denk
Dear Haiying Wang,
Quoted 2 lines · In message <[email protected]> you wrote:
so it can be called in other file.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Haiying Wang <[email protected]>--- 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