mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Belisko Marek <marek.belisko@gmail.com>
To: "Premi, Sanjeev" <premi@ti.com>
Cc: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: Re: [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage.
Date: Wed, 1 Feb 2012 12:09:43 +0100	[thread overview]
Message-ID: <CAAfyv37oCFHfd5Z1msWnfxePbE01BXrYHgD0vNi6ix9nbUmCvw@mail.gmail.com> (raw)
In-Reply-To: <E28AAFD00EFAA646AE3DF9B89CD24A8931823B1B@DBDE01.ent.ti.com>

On Wed, Feb 1, 2012 at 12:05 PM, Premi, Sanjeev <premi@ti.com> wrote:
>
>> -----Original Message-----
>> From: Belisko Marek [mailto:marek.belisko@gmail.com]
>> Sent: Wednesday, February 01, 2012 3:46 PM
>> To: Premi, Sanjeev
>> Cc: barebox@lists.infradead.org
>> Subject: Re: [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage.
>>
>> On Wed, Feb 1, 2012 at 10:32 AM, Premi, Sanjeev <premi@ti.com> wrote:
>> >> -----Original Message-----
>> >> From: barebox-bounces@lists.infradead.org
>> >> [mailto:barebox-bounces@lists.infradead.org] On Behalf Of
>> >> Marek Belisko
>> >> Sent: Wednesday, February 01, 2012 2:21 AM
>> >> To: barebox@lists.infradead.org
>> >> Cc: Marek Belisko
>> >> Subject: [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage.
>> >>
>> >> Build for omap platform by default.
>> >>
>> >> Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
>> >> ---
>> >>  arch/arm/boards/beagle/board.c          |    4 ++--
>> >>  arch/arm/boards/omap343xdsp/board.c     |    2 --
>> >>  arch/arm/boards/omap3evm/board.c        |    3 +--
>> >>  arch/arm/boards/phycard-a-l1/pca-a-l1.c |    3 ---
>> >>  arch/arm/configs/panda_xload_defconfig  |    1 -
>> >>  arch/arm/configs/phycard_a_l1_defconfig |    1 -
>> >>  arch/arm/mach-omap/Kconfig              |   10 ----------
>> >>  arch/arm/mach-omap/Makefile             |    3 +--
>> >>  drivers/mtd/nand/Kconfig                |    1 -
>> >>  9 files changed, 4 insertions(+), 24 deletions(-)
>> >>
>
> [snip]...[snip]
>
>> > The config option helps in reducing the extra code being built into
>> > the "xload" configurations - where the size matters.
>> >
>> > Instead of making this change, I suggest you add this in
>> the defconfig
>> > for pandaboard:
>> > CONFIG_OMAP_GPMC=y
>> >
>> > It is much smaller change.
>> GPMC is common for omap platform so I don't see a benefit to add user
>> possibility to disable it and
>> then make his board un-bootable. Solution was proposed by Sascha :
>> http://www.spinics.net/lists/u-boot-v2/msg05897.html
>
> I missed this discussion, but if in the early boot stages we aren't
> concerned about the devices on GPMC, then we shouldn't be initializing it.
>
> I don't have code in front of me, so can't say whether this is the
> case for xload configurations today - but I am assuming this was the
> original intent of having this option.
>
> On OMAP3EVM, GPMC needs to be configured only if NAND and Ethernet are
> used. Else, the init can easily be skipped.
>
> In patch 2/2 you mentioned about the kernel crash.
> Can you share the crash log?
> (or point me to a post which already has it)
Crash is here:
http://www.spinics.net/lists/u-boot-v2/msg05887.html
>
> ~sanjeev
>
>>
>> >
>> > ~sanjeev
>> >
>> >> 1.7.5.4
>> >>
>> >>
>> >> _______________________________________________
>> >> barebox mailing list
>> >> barebox@lists.infradead.org
>> >> http://lists.infradead.org/mailman/listinfo/barebox
>> >>
>>
>> regards,
>>
>> marek
>>
>> --
>> as simple and primitive as possible
>> -------------------------------------------------
>> Marek Belisko - OPEN-NANDRA
>> Freelance Developer
>>
>> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
>> Tel: +421 915 052 184
>> skype: marekwhite
>> twitter: #opennandra
>> web: http://open-nandra.com
>>

marek

-- 
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer

Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
twitter: #opennandra
web: http://open-nandra.com

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-02-01 11:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 20:51 Marek Belisko
2012-01-31 20:51 ` [PATCH 2/2] pandaboard: Add gpmc_generic_init to board init Marek Belisko
2012-03-02  8:04   ` Jan Weitzel
2012-03-03 12:11     ` Belisko Marek
2012-02-01  9:32 ` [PATCH 1/2] omap: Remove OMAP_GPMC prompt and usage Premi, Sanjeev
2012-02-01 10:16   ` Belisko Marek
2012-02-01 11:05     ` Premi, Sanjeev
2012-02-01 11:09       ` Belisko Marek [this message]
2012-02-01 13:52         ` Premi, Sanjeev
2012-02-01 13:51       ` Sascha Hauer
2012-02-01 14:10         ` Premi, Sanjeev
2012-02-07 20:22           ` Belisko Marek

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=CAAfyv37oCFHfd5Z1msWnfxePbE01BXrYHgD0vNi6ix9nbUmCvw@mail.gmail.com \
    --to=marek.belisko@gmail.com \
    --cc=barebox@lists.infradead.org \
    --cc=premi@ti.com \
    /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