From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] OMAP3: Introduce CONFIG option for power code
Date: Sun, 10 May 2009 17:16:51 +0200 [thread overview]
Message-ID: <20090510151651.GE21079@game.jcrosoft.org> (raw)
In-Reply-To: <4A044F6F.6080005@googlemail.com>
On 17:27 Fri 08 May , Dirk Behme wrote:
> Dear Jean-Christophe,
>
> Jean-Christophe PLAGNIOL-VILLARD wrote:
>> On 17:21 Wed 06 May , Dirk Behme wrote:
>>> Some OMAP3 boards need control for external power companion
>>> chips. Introduce a CONFIG option for this, to avoid Makefile
>>> changes for each board.
>>
>> please also move it to cpu/arm_cortexa8/omap3/
>>
>> omap3 and davinci is not a vendor
>> so common code will need to go to drivers or cpu/<arch>/<soc>
>
> No, this wouldn't be correct. We used board/omap3/common/ for this
> intentionally.
no the current omap3 layout is wrong
it's board/<soc>
but it's supposed to be board/<vendor>
as davinci which is starting to be clean
>
> We talk about *board* specific code here, it is totally unrelated to
> <arch> or the <soc> we use. This board specific code configures an OMAP3
> (SoC) external companion chip which is on the board (or not). Some boards
> which share the basic layout have this companion chip, some not. Please
> note that original config options (we remove with this patch) were the
> *board* config options (e.g. CONFIG_OMAP3_BEAGLE) to enable the
> compilation of power.c, too.
as show now the power.c code is shared by a lot's of omap3 boards
and as you said it's a power companion for the omap3
so 2 choices
move the code to cpu/omap3 as it's omap3 specific
or to drivers/
>>> help
>>> +Custom configs
>>> +==============
>>> +
>>> +CONFIG_OMAP3_POWER
>>> +
>>> +Some OMAP3 boards use external power companion chips to be configured. Enable
>>> +this CONFIG option in your board specific configuration file if your board
>>> +uses such a companion chip.
>> could you name it ine the config and the file name
>
> Sorry, I don't understand what you want here. What should I name where?
> Which file name?
the name of the companion chip as you can use different one
Best Regards,
J.
next prev parent reply other threads:[~2009-05-10 15:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-06 15:21 [U-Boot] [PATCH] OMAP3: Introduce CONFIG option for power code Dirk Behme
2009-05-07 20:46 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-08 15:27 ` Dirk Behme
2009-05-10 15:16 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-05-10 17:03 ` Dirk Behme
2009-05-12 1:13 ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-12 17:41 ` Dirk Behme
2009-05-12 22:34 ` Jean-Christophe PLAGNIOL-VILLARD
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=20090510151651.GE21079@game.jcrosoft.org \
--to=plagnioj@jcrosoft.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