public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ron Madrid <ron_madrid@sbcglobal.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] fsl_elbc_nand.c and nand_boot_fsl_elbc.c for large page devices
Date: Tue, 14 Oct 2008 13:24:09 -0700 (PDT)	[thread overview]
Message-ID: <427549.25358.qm@web83503.mail.sp1.yahoo.com> (raw)

So I have a few quick questions/observations.

1.  I don't see anywhere that the AL (address length, or number of address cycles) can be set to anything other than 2.  It appears to be hard coded in both files.

2.  nand_boot_fsl_elbc.c uses ECCM = 1 for large page devices, but I don't see a place where fsl_elbc_nand.c sets ECCM to 1 for similar devices.  The result, I believe, is that if I try to write a new u-boot into the large page flash device it will be written with ECCM = 0.  When I try to reset the board it will be read with ECCM = 1 (inside of nand_boot_fsl_elbc.c) resulting in an ecc error in the LTESR.

I would be more than happy to help make these changes (if necessary) but I don't know if there is already a fix in the works, or if perhaps I am wrong in these two assumptions.

Ron

             reply	other threads:[~2008-10-14 20:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-14 20:24 Ron Madrid [this message]
2008-10-16 19:17 ` [U-Boot] fsl_elbc_nand.c and nand_boot_fsl_elbc.c for large page devices Scott Wood
2008-10-16 21:05   ` Ron Madrid
2008-10-16 21:05     ` Scott Wood
  -- strict thread matches above, loose matches on Subject: below --
2008-10-16 22:06 Ron Madrid
2008-10-16 22:43 ` Wolfgang Denk

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=427549.25358.qm@web83503.mail.sp1.yahoo.com \
    --to=ron_madrid@sbcglobal.net \
    --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