HI James, On 24 November 2014 at 00:06, James Zhou <james.zhou.l...@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: s...@chromium.org >> To: u-boot@lists.denx.de >> CC: graeme.r...@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 <s...@chromium.org> wrote: >> > Enable PCI so we can access devices that need to be set up before >> > relocation. >> > >> > Signed-off-by: Simon Glass <s...@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@lists.denx.de >> http://lists.denx.de/mailman/listinfo/u-boot _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot