[U-Boot] [PATCH v3 10/26] x86: ivybridge: Enable PCI in early init

Simon Glass sjg at chromium.org
Mon Nov 24 19:33:22 CET 2014


HI James,

On 24 November 2014 at 00:06, James Zhou <james.zhou.link at outlook.com> wrote:
> Hello Simon,
>
> Is there a specific case to use PCI before relocation?
> Or it only applies for x86?
> If so, we could figure out how to use this new feature. Thanks for the info.

It's not x86-specific - you can use this for any arch. The main
enabler was pre-relocation malloc() which is now supported in U-Boot.

Regards,
Simon

>
> Regards,
> James
>
>> Date: Fri, 21 Nov 2014 07:51:08 +0100
>> From: sjg at chromium.org
>> To: u-boot at lists.denx.de
>> CC: graeme.russ at gmail.com
>> Subject: Re: [U-Boot] [PATCH v3 10/26] x86: ivybridge: Enable PCI in early
>> init
>
>>
>> On 13 November 2014 06:42, Simon Glass <sjg at chromium.org> wrote:
>> > Enable PCI so we can access devices that need to be set up before
>> > relocation.
>> >
>> > Signed-off-by: Simon Glass <sjg at chromium.org>
>> > ---
>> >
>> > Changes in v3:
>> > - Adjust PCI setup code to fit with new generic cpu PCI code
>> >
>> > Changes in v2: None
>> >
>> > arch/x86/cpu/ivybridge/Makefile | 1 +
>> > arch/x86/cpu/ivybridge/cpu.c | 6 ++++
>> > arch/x86/cpu/ivybridge/pci.c | 60
>> > +++++++++++++++++++++++++++++++++++++++
>> > include/configs/chromebook_link.h | 14 +++++++--
>> > 4 files changed, 79 insertions(+), 2 deletions(-)
>> > create mode 100644 arch/x86/cpu/ivybridge/pci.c
>>
>> Applied to u-boot-x86.
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list