From: Daniel Mack <zonque@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/2] OMAP/GPMC: speed up NAND read access
Date: Thu, 26 Jun 2014 09:19:40 +0200 [thread overview]
Message-ID: <53ABC98C.1060106@gmail.com> (raw)
In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EAF7A1C@DBDE04.ent.ti.com>
Hi,
On 06/26/2014 08:08 AM, Gupta, Pekon wrote:
>> From: Daniel Mack [mailto:zonque at gmail.com]
>>
>> Resending this since I got no replies on the first version.
>> I also fixed up the commit log of #1.
>>
> I plan to test this, but there is still a long pending list of patches which
> for me to test in kernel and u-boot. So it might take bit time.
> But really thanks much for this feature addition.
>
> Just a minor feedback, if you like it...
> GPMC controller support various transfer modes
> - POLLED: <default mode>
> - PREFETCH_POLLED : <as added in this patch>
> - PREFETCH_IRQ: <not implemented/required>
> - PREFETCH_DMA: <not implemented/required>
>
> (1) Will it be okay to use following config names, this would be synonymous
> to the xfer-modes DT binding used in kernel ?
> CONFIG_NAND_OMAP_XFER_MODE_POLLED
> CONFIG_NAND_OMAP_XFER_MODE_PREFETCH_POLLED
Yes, I've seen that, but decided for shorter names as we will never
support DMA or IRQ modes from U-Boot. But I can of course change that,
I'd ultimately leave such decisions up to you :)
> (2) It would be good if you can make "PREFETCH_POLLED" mode as "default"
> And instead make "POLLED" mode selectable.
> #ifdef CONFIG_NAND_OMAP_XFER_MODE_POLLED
> /* old behavior */
> #else /*
> /* default PREFETCH_POLLED mode */
> #endif
Ok, but then we'd need something that selects PREFETCH_POLLED
automatically if nothing else is selected in the config. I wanted to
avoid yet another mandatory config symbol that have to be patched into
all existing configs. Could you lay out how that would be done?
> However, let me first test your patch, and these minor nit-picks
> (if required) can be done later.
Alright. I'm in no hurry with this. Good to know it's on your list.
Thanks,
Daniel
next prev parent reply other threads:[~2014-06-26 7:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-25 12:43 [U-Boot] [PATCH v2 0/2] OMAP/GPMC: speed up NAND read access Daniel Mack
2014-06-25 12:43 ` [U-Boot] [PATCH v2 1/2] mtd: OMAP: Enable GPMC prefetch mode Daniel Mack
2014-12-19 16:27 ` Guido Martínez
2014-12-19 16:31 ` Daniel Mack
2015-01-13 21:50 ` [U-Boot] [U-Boot,v2,1/2] " Tom Rini
2014-06-25 12:43 ` [U-Boot] [PATCH v2 2/2] ARM: omap-common: gpmp: decrease memory region size to 16MiB Daniel Mack
2014-06-25 13:00 ` [U-Boot] [PATCH v2 0/2] OMAP/GPMC: speed up NAND read access Tom Rini
2014-06-25 13:06 ` Daniel Mack
2014-06-26 6:08 ` Gupta, Pekon
2014-06-26 7:19 ` Daniel Mack [this message]
2014-07-25 10:31 ` Gupta, Pekon
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=53ABC98C.1060106@gmail.com \
--to=zonque@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.