Re: [U-Boot] [PATCH 2/6] dm: pci: Correct primary/secondary/subordinate bus number assignment

2015-07-21 Thread Simon Glass
Hi Bin, On 19 July 2015 at 20:38, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Mon, Jul 20, 2015 at 9:59 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 18 July 2015 at 10:20, Bin Meng bmeng...@gmail.com wrote: In driver model, each pci bridge device has its own hose structure.

Re: [U-Boot] [PATCH 2/6] dm: pci: Correct primary/secondary/subordinate bus number assignment

2015-07-20 Thread Simon Glass
On 19 July 2015 at 19:59, Simon Glass s...@chromium.org wrote: Hi Bin, On 18 July 2015 at 10:20, Bin Meng bmeng...@gmail.com wrote: In driver model, each pci bridge device has its own hose structure. hose-first_busno points to the bridge device's device number, so we should not substract

Re: [U-Boot] [PATCH 2/6] dm: pci: Correct primary/secondary/subordinate bus number assignment

2015-07-19 Thread Simon Glass
Hi Bin, On 18 July 2015 at 10:20, Bin Meng bmeng...@gmail.com wrote: In driver model, each pci bridge device has its own hose structure. hose-first_busno points to the bridge device's device number, so we should not substract hose-first_busno before programming the bridge device's

Re: [U-Boot] [PATCH 2/6] dm: pci: Correct primary/secondary/subordinate bus number assignment

2015-07-19 Thread Bin Meng
Hi Simon, On Mon, Jul 20, 2015 at 9:59 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 18 July 2015 at 10:20, Bin Meng bmeng...@gmail.com wrote: In driver model, each pci bridge device has its own hose structure. hose-first_busno points to the bridge device's device number, so we should

[U-Boot] [PATCH 2/6] dm: pci: Correct primary/secondary/subordinate bus number assignment

2015-07-18 Thread Bin Meng
In driver model, each pci bridge device has its own hose structure. hose-first_busno points to the bridge device's device number, so we should not substract hose-first_busno before programming the bridge device's primary/secondary/subordinate bus number registers. Signed-off-by: Bin Meng