Re: [U-Boot] [PATCH v2 15/33] x86: Refactor PCI to permit alternate init

2014-11-11 Thread Simon Glass
Hi Bin, On 11 November 2014 18:50, Bin Meng wrote: > Hi Simon, > > On Wed, Nov 12, 2014 at 9:02 AM, Simon Glass wrote: >> Hi Bin, >> >> On 11 November 2014 07:14, Bin Meng wrote: >>> Hi Simon, >>> >>> On Tue, Nov 11, 2014 at 9:00 AM, Simon Glass wrote: We want access PCI earlier in the in

Re: [U-Boot] [PATCH v2 15/33] x86: Refactor PCI to permit alternate init

2014-11-11 Thread Bin Meng
Hi Simon, On Wed, Nov 12, 2014 at 9:02 AM, Simon Glass wrote: > Hi Bin, > > On 11 November 2014 07:14, Bin Meng wrote: >> Hi Simon, >> >> On Tue, Nov 11, 2014 at 9:00 AM, Simon Glass wrote: >>> We want access PCI earlier in the init sequence, so refactor the code so >>> that it does not require

Re: [U-Boot] [PATCH v2 15/33] x86: Refactor PCI to permit alternate init

2014-11-11 Thread Simon Glass
Hi Bin, On 11 November 2014 07:14, Bin Meng wrote: > Hi Simon, > > On Tue, Nov 11, 2014 at 9:00 AM, Simon Glass wrote: >> We want access PCI earlier in the init sequence, so refactor the code so >> that it does not require use of a BSS variable to work. This will allow us >> to use early malloc(

Re: [U-Boot] [PATCH v2 15/33] x86: Refactor PCI to permit alternate init

2014-11-11 Thread Bin Meng
Hi Simon, On Tue, Nov 11, 2014 at 9:00 AM, Simon Glass wrote: > We want access PCI earlier in the init sequence, so refactor the code so > that it does not require use of a BSS variable to work. This will allow us > to use early malloc() to store information about a PCI hose. > > Common PCI code

[U-Boot] [PATCH v2 15/33] x86: Refactor PCI to permit alternate init

2014-11-10 Thread Simon Glass
We want access PCI earlier in the init sequence, so refactor the code so that it does not require use of a BSS variable to work. This will allow us to use early malloc() to store information about a PCI hose. Common PCI code moves to arch/x86/cpu/pci.c and a new board_pci_setup_hose() function is