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 1/3] ARM: omap: Fix GPMC init for OMAP3 platforms
Date: Sat, 12 Jul 2014 16:47:11 +0200	[thread overview]
Message-ID: <53C14A6F.30409@denx.de> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EB02289@DBDE04.ent.ti.com>

On 12.07.2014 15:30, Gupta, Pekon wrote:
>> From: Tom Rini [mailto:tom.rini at gmail.com] On Behalf Of Rini, Tom
>>> On Thu, Jul 10, 2014 at 07:28:00AM +0200, Stefan Roese wrote:
>>> Hi Pekon,
>>>
>>>> On 09.07.2014 20:22, Gupta, Pekon wrote:
>>>>> Commit a0a37183 (ARM: omap: merge GPMC initialization code for all
>>>>> platform) broke NAND on OMAP3 based platforms. I noticed this while
>>>>> testing the latest 2014.07-rc version on the TAO3530 board. NAND
>>>>> detection did not work with this error message:
>>>>>
>>>>> NAND:  nand: error: Unable to find NAND settings in GPMC Configuration - quitting
>>>>>
>>>>> As OMAP3 configs don't set CONFIG_NAND but CONFIG_NAND_CMD. the GPMC
>>>>> was not initialized for NAND at all. This patch now fixes this issue.
>>>>>
>>>> Sorry couldn't understand this, why have users enabled CONFIG_NAND_CMD,
>>>> if CONFIG_NAND itself is not enabled ?
>>>
>>> CONFIG_NAND doesn't seem to be a mandatory define if NAND is used.
>>
>> Exactly.  Adding in CONFIG_NAND is something that am335x started doing
>> because of the cases where we do, or do not, want to assume NAND exists.
>>
> That is bad. We shouldn't have added any CONFIG just for sake of making
> one platform work, that to with very generic nomenclature. Anyways, given
> the fact we have two similar configs, Let's kill one of them completely.
> I think killing CONFIG_NAND would be easier, as it's used only in few
> TI specific am33xx boards. Agree ?

Yes. It would be great if you send an patch for this to be applied after 
this release. And we should take my patch for this release to fix this 
problem quickly.

Thanks,
Stefan

  reply	other threads:[~2014-07-12 14:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-09 15:18 [U-Boot] [PATCH 1/3] ARM: omap: Fix GPMC init for OMAP3 platforms Stefan Roese
2014-07-09 15:18 ` [U-Boot] [PATCH 2/3] ARM: omap: Remove unused arch/arm/cpu/armv7/omap3/mem.c Stefan Roese
2014-07-09 18:16   ` Gupta, Pekon
2014-07-26  1:26   ` [U-Boot] [U-Boot, " Tom Rini
2014-07-09 15:18 ` [U-Boot] [PATCH 3/3] ARM: omap: tao3530: Convert to generic board Stefan Roese
2014-07-26  1:26   ` [U-Boot] [U-Boot, " Tom Rini
2014-07-09 18:22 ` [U-Boot] [PATCH 1/3] ARM: omap: Fix GPMC init for OMAP3 platforms Gupta, Pekon
2014-07-10  5:28   ` Stefan Roese
2014-07-11 18:52     ` Tom Rini
2014-07-12 13:30       ` Gupta, Pekon
2014-07-12 14:47         ` Stefan Roese [this message]
2014-07-14  1:35           ` Gupta, Pekon
2014-07-26  1:25 ` [U-Boot] [U-Boot, " Tom Rini

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=53C14A6F.30409@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