public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: omap: cm_t35: Fix: Re-add GPMC_NAND_ECC_LP_x8_LAYOUT
Date: Thu, 13 Mar 2014 12:59:18 +0100	[thread overview]
Message-ID: <53219D96.9090604@denx.de> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EAB317F@DBDE04.ent.ti.com>

Hi Pekon,

On 13.03.2014 12:49, Gupta, Pekon wrote:
>> From: Stefan Roese [mailto:sr at denx.de]
>>
>> Patch a7e36fc9 (mtd: nand: omap: remove unused #defines from common
>> omap_gpmc.h) removed some MTD related defines. Including
>> GPMC_NAND_ECC_LP_x8_LAYOUT. But this define is also needed for the
>> memory controller configuration (only the x8 defines are needed,
>> the x16 defines are the default). Without it the NAND subsystem is
>> not configured correctly and booting into U-Boot does not work.
>>
> The root cause of this problem is in  ..
> 	arch/arm/cpu/armv7/omap3/mem.c
> #if defined(GPMC_NAND_ECC_SP_x8_LAYOUT) || defined(GPMC_NAND_ECC_LP_x8_LAYOUT)
> where based on GPMC_NAND_ECC_LP_x8_LAYOUT, different
> controller configuration is selected.

I know as I introduced this code a while ago for this x8 NAND target. ;)

> Unless you need a urgent fix,

Yes, I need an urgent fix. This board does not boot anymore. Note that 
Tom already pulled my patch into his TI repo. So this fix is on its way 
right now.

> - I would suggest to use [1] instead. I'll try to get a cleaner version
> of [1] incorporating other comments from Scott, soon.
>
> - Alternatively, you can also look at [2], which is more robust but
> was still under discussion.

Yes, your patches look more elegant. I suggest to move to them once the 
discussion has settled. And then remove these x8_LAYOUT defines 
completely when they are really not needed any more. But please not sooner.

Thanks,
Stefan

      reply	other threads:[~2014-03-13 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-11 16:04 [U-Boot] [PATCH] arm: omap: cm_t35: Fix: Re-add GPMC_NAND_ECC_LP_x8_LAYOUT Stefan Roese
2014-03-11 17:42 ` Igor Grinberg
2014-03-12 20:04 ` [U-Boot] " Tom Rini
2014-03-13 11:49 ` [U-Boot] [PATCH] " Gupta, Pekon
2014-03-13 11:59   ` Stefan Roese [this message]

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=53219D96.9090604@denx.de \
    --to=sr@denx.de \
    --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