From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime
Date: Tue, 28 Oct 2014 10:34:40 +0100 [thread overview]
Message-ID: <544F6330.2030904@googlemail.com> (raw)
In-Reply-To: <544F6185.8020007@atmel.com>
Hi Bo,
On 28.10.14 10:27, Bo Shen wrote:
> Hi Andreas,
>
> On 10/28/2014 04:05 PM, Bo Shen wrote:
>> Hi Andreas,
>>
>> On 10/25/2014 06:22 AM, Andreas Bie?mann wrote:
>>>> ATMEL_BASE_PMERRLOC;
>>>> >+#if defined(NO_GALOIS_TABLE_IN_ROM)
>>>> >+ /* Set pmecc_rom_base as the begin of gf table */
>>>> >+ int size = host->pmecc_sector_size == 512 ?
>>>> >+ PMECC_INDEX_TABLE_SIZE_512 :
>>>> >+ PMECC_INDEX_TABLE_SIZE_1024;
>>>> >+ pmecc_galois_table = malloc(2 * size * sizeof(uint16_t));
>>> I fear this will not work with current SPL implementation ...
>>
>> Yes, when I try to implement the SPL support for sama5d4ek board, I
>> really meet this issue. I don't know what reason cause this issue. So,
>> can you give me some hints about it? Thanks.
>
> I use the nand read.raw and nand write.raw command with wrong parameter.
>
> It is OK for SPL with this kind of code on sama5d4ek.
nice to hear, great!
Best regards
Andreas
next prev parent reply other threads:[~2014-10-28 9:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-16 7:57 [U-Boot] [PATCH 0/3] ARM: atmel: add sama5d4ek board support Bo Shen
2014-09-16 7:57 ` [U-Boot] [PATCH 1/3] atmel_nand: if don't have gf table in rom code we will build it runtime Bo Shen
2014-10-24 22:22 ` Andreas Bießmann
2014-10-27 1:47 ` Bo Shen
2014-10-27 3:31 ` Josh Wu
2014-10-28 8:05 ` Bo Shen
2014-10-28 9:27 ` Bo Shen
2014-10-28 9:34 ` Andreas Bießmann [this message]
2014-09-16 7:57 ` [U-Boot] [PATCH 2/3] net: macb: enable GMAC IP without GE feature support Bo Shen
2014-10-24 22:23 ` Andreas Bießmann
2014-09-16 7:57 ` [U-Boot] [PATCH 3/3] ARM: atmel: add sama5d4ek board support Bo Shen
2014-10-25 0:26 ` Andreas Bießmann
2014-10-27 3:25 ` Bo Shen
2014-09-19 8:10 ` [U-Boot] [PATCH 0/3] " Nicolas Ferre
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=544F6330.2030904@googlemail.com \
--to=andreas.devel@googlemail.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;
as well as URLs for NNTP newsgroup(s).