From: Haiying Wang <Haiying.Wang@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/7] nand_spl: remove static for nand_load
Date: Mon, 16 Aug 2010 04:02:01 -0400 [thread overview]
Message-ID: <1281945721.24612.11.camel@localhost.localdomain> (raw)
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;
--
1.7.0
next reply other threads:[~2010-08-16 8:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-16 8:02 Haiying Wang [this message]
2010-08-16 10:09 ` [U-Boot] [PATCH 1/7] nand_spl: remove static for nand_load Wolfgang Denk
2010-08-17 3:52 ` Haiying Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1281945721.24612.11.camel@localhost.localdomain \
--to=haiying.wang@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox