Skip to contentSkip to conversation

nand_spl: remove static for nand_load

PATCH New Haiying Wang 2 participants 3 messages Aug 16, 2010 – Aug 17, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 nand_spl: remove static for nand_load

so it can be called in other file.

---
 nand_spl/nand_boot_fsl_elbc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
nand_spl/nand_boot_fsl_elbc.c +1 -1
index 9547d44..efac293 100644
@@ -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
#1 lore raw

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.

---
 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_
#2 lore raw

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
---
 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