From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 08/12] OMAP3 SPL: Add identify_pop_memory function
Date: Wed, 9 Nov 2011 09:41:21 -0700 [thread overview]
Message-ID: <4EBAAD31.80409@ti.com> (raw)
In-Reply-To: <4EBA5E25.50307@compulab.co.il>
On 11/09/2011 04:04 AM, Igor Grinberg wrote:
> Hi Tom,
>
> On 11/08/11 17:21, Tom Rini wrote:
>> On 11/08/2011 12:45 AM, Igor Grinberg wrote:
>>> On 11/07/11 22:05, Tom Rini wrote:
>>>> A number of boards are populated with a PoP chip for both DDR and NAND
>>>> memory. So to determine DDR timings the NAND chip needs to be probed
>>>> and mfr/id returned to the board to make decisions with. All of this
>>>> code is put into spl_pop_probe.c and controlled via
>>>> CONFIG_SPL_OMAP3_POP_PROBE.
>>>
>>> I don't see how POP is different from other types of packages
>>> in terms of DRAM.
>>> The same thing can be true also for non-POP packages.
>>> What I'm saying here is, I understand the necessity of that code,
>>> but why call it POP specific?
>>> If it is not POP specific, then please call it some other way
>>> (e.g. ...DRAM_NAND_PROBE).
>>> Also, hypothetically, some other means can be used for DRAM type
>>> identification, so it will be a good thing to split it, but again
>>> it is only hypothetically and it is only my thoughts, so you don't
>>> have to...
>>
>> Well, that gets at why I called it spl_pop_probe. If you have a POP
>> package, this is how you would do the probe. I can see in theory
>> wanting to probe NAND as a way to see board rev on a non-POP package,
>> but I'd like to see a real example first.
>
> That's the problem we see in Linux OMAP...
> some guys don't think forward and submit stuff on a per case basis,
> then when it comes to a bit different case,
> they are trying to reuse (which is fine) and end up renaming stuff
> all around - generating huge diff stat.
> Why not just do the generic stuff from the start of it?
> Why wait for a new case?
> It is pretty simple, just don't name it POP, so it can serve w/o
> any confusion for more cases.
I'll do the rename for a v3. I just don't see renaming once another use
comes up as a problem, we aren't using CVS anymore ;)
--
Tom
next prev parent reply other threads:[~2011-11-09 16:41 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 20:05 [U-Boot] [PATCH 0/12]: Add more framework to OMAP3 SPL, port more boards Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 01/12] OMAP3: Update SDRC dram_init to always call make_cs1_contiguous() Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 02/12] OMAP3: Add a helper function to set timings in SDRC Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 03/12] OMAP3: Change mem_ok to clear again after reading back Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 04/12] OMAP3: Remove get_mem_type prototype Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 05/12] OMAP3: Add optimal SDRC autorefresh control values Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 06/12] OMAP3: Suffix all Micron memory timing parts with their speed Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 07/12] OMAP3 SPL: Rework memory initalization and devkit8000 support Tom Rini
2011-11-08 7:06 ` Igor Grinberg
2011-11-08 15:09 ` Tom Rini
2011-11-07 20:05 ` [U-Boot] [PATCH 08/12] OMAP3 SPL: Add identify_pop_memory function Tom Rini
2011-11-08 7:45 ` Igor Grinberg
2011-11-08 15:21 ` Tom Rini
2011-11-09 11:04 ` Igor Grinberg
2011-11-09 16:41 ` Tom Rini [this message]
2011-11-07 20:05 ` [U-Boot] [PATCH 09/12] OMAP3: Add SPL support to Beagleboard Tom Rini
2011-11-08 7:57 ` Igor Grinberg
2011-11-08 15:28 ` Tom Rini
2011-11-09 11:07 ` Igor Grinberg
2011-11-07 22:03 ` [U-Boot] [PATCH 10/12] OMAP3: Add SPL support to omap3_evm Tom Rini
2011-11-08 8:02 ` Igor Grinberg
2011-11-08 15:29 ` Tom Rini
2011-11-08 16:06 ` Tom Rini
2011-11-07 22:03 ` [U-Boot] [PATCH 11/12] AM3517: Add SPL support Tom Rini
2011-11-07 22:03 ` [U-Boot] [PATCH 12/12] AM3517 CraneBoard: " 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=4EBAAD31.80409@ti.com \
--to=trini@ti.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