diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-07-19 00:20:03 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-28 10:36:23 -0600 |
commit | 95f3aa209acde88f4273403733a0fb29ca28260d (patch) | |
tree | 5617e61011f18df418a2c49e2935bcaad49b0c70 /drivers/ddr/marvell/a38x/ddr3_init.h | |
parent | 7e378b8bfce342d773621af394ca192dba39cf34 (diff) |
dm: pci: Correct primary/secondary/subordinate bus number assignment
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 <bmeng.cn@gmail.com>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_init.h')
0 files changed, 0 insertions, 0 deletions