From: Renaud barbier <renaud.barbier@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] NAND on mpc8360erdk
Date: Wed, 22 Apr 2009 18:47:51 +0100 [thread overview]
Message-ID: <49EF5847.1000802@ge.com> (raw)
I am in the middle of NAND debugging on a MPC8544 based system.
In the following code for the mpc8360erdk, why is there
the instruction "out_8(upm->io_addr, 0x0);" in the for loop.
Is that board specific?
static void upm_setup(struct fsl_upm *upm)
{
int i;
/* write upm array */
out_be32(upm->mxmr, MxMR_OP_WARR);
for (i = 0; i < 64; i++) {
out_be32(upm->mdr, upm_array[i]);
out_8(upm->io_addr, 0x0);
}
/* normal operation */
out_be32(upm->mxmr, MxMR_OP_NORM);
while (in_be32(upm->mxmr) != MxMR_OP_NORM)
eieio();
}
next reply other threads:[~2009-04-22 17:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-22 17:47 Renaud barbier [this message]
2009-04-22 18:17 ` [U-Boot] NAND on mpc8360erdk Anatolij Gustschin
2009-04-23 8:54 ` Wolfgang Grandegger
2009-04-23 22:08 ` Renaud barbier
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=49EF5847.1000802@ge.com \
--to=renaud.barbier@ge.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