From: Graeme Russ <graeme.russ@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] x86: Enable ICH6 GPIO controller for coreboot
Date: Sun, 21 Oct 2012 16:01:55 +1100 [thread overview]
Message-ID: <508381C3.7030703@gmail.com> (raw)
In-Reply-To: <CAPnjgZ3A0iR1MCJHdUGt9_3DBrCUDE9B3nTaOTyMbCsTUdf2YA@mail.gmail.com>
Hi Simon,
On 10/21/2012 10:51 AM, Simon Glass wrote:
> Hi Graeme,
>
> On Sat, Oct 20, 2012 at 3:57 PM, Graeme Russ <graeme.russ@gmail.com> wrote:
>> Hi Simon,
>>
>> On Oct 21, 2012 9:32 AM, "Simon Glass" <sjg@chromium.org> wrote:
>>>
>>> Hi Graeme,
>>>
>>> On Sat, Oct 20, 2012 at 3:22 PM, Graeme Russ <graeme.russ@gmail.com>
>>> wrote:
>>>> Hi Simon,
>>>>
>>>> On Oct 21, 2012 8:45 AM, "Simon Glass" <sjg@chromium.org> wrote:
>>>>>
>>>>> Coreboot uses this controller to implement GPIO access.
>>>>
>>>> All coreboot supported boards, or just the ones you are dealing with
>>>> ATM?
>>>>
>>>> To give you some perspective, I'm working on n AMD E350 based board.
>>>> Does it
>>>> have ICH6 GPIO?
>>>>
>>>> I've come to a conclusion that U-Boot as a coreboot payload will be the
>>>> norm
>>>> for the foreseeable futre, so let's make board specific support as
>>>> flexible
>>>> as possible.
>>>
>>> If that's the case then we might need a little rethink. Are you saying
>>> that coreboot might become the only board, or that the coreboot
>>> functions should move into generic x86 code?
>>
>> Make coreboot a SoC and then have individual board configs which use it
>
> Hmmm ok. How is that going to play with real SOCs when x86 gets them?
True. Could we just have a coreboot library and and board that is
chainloading U-Boot from coreboot simply define CONFIG_X86_COREBOOT?
>>> I am not sure about your board GPIO, but you could test it I suppose.
>>>
>>> On ARM we use the fdt to describe what peripherals are there and what
>>> are not. I suppose we could do the same thing here.
>>
>> I was wondering how to pass more info from coreboot to U-Boot, maybe we can
>> use FDT
>
> We have been using that, but I think coreboot wants to stop. Coreboot
> has its own tag-based data structure.
Linux supports FDT, U-Boot supports FDT - Why not FDT from all the way through?
> But what I mean is that you provide an fdt for your board which
> describes the GPIO controller. So not something that coreboot deals
> with, just something for the U-Boot GPIO drivers to look at.
Remember, U-Boot will have the hardware support hard-coded - there will not
bee support for arbitrary hardware. Your coreboot and U-Boot images must,
to some extent, be a pigeon pair.
My concern is, who is initialising what hardware? U-Boot should not
re-initialise hardware already initialised by coreboot. I see FDT as a way
of passing the 'I have already initialised xxx' from coreboot to U-Boot.
Regards,
Graeme
next prev parent reply other threads:[~2012-10-21 5:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-20 21:44 [U-Boot] [PATCH 1/3] x86: gpio: Add GPIO driver for Intel ICH6 and later Simon Glass
2012-10-20 21:44 ` [U-Boot] [PATCH 2/3] x86: Enable ICH6 GPIO controller for coreboot Simon Glass
2012-10-20 22:22 ` Graeme Russ
2012-10-20 22:32 ` Simon Glass
2012-10-20 22:57 ` Graeme Russ
2012-10-20 23:51 ` Simon Glass
2012-10-21 5:01 ` Graeme Russ [this message]
2012-10-24 4:09 ` Simon Glass
2012-10-20 21:44 ` [U-Boot] [PATCH 3/3] x86: gpio: Add additional GPIO banks to the ICH6 driver Simon Glass
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=508381C3.7030703@gmail.com \
--to=graeme.russ@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.