commit | ec98e9ab6f2475ff57c12d069e78b90548c0f60e | [log] [tgz] |
---|---|---|
author | Minghuan Lian <Minghuan.Lian@freescale.com> | Tue Sep 23 22:28:56 2014 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Sep 24 07:01:47 2014 -0600 |
tree | bc805deeeb15cd11d1b2e457cec031ca5ba3a8c2 | |
parent | 9f0dbe087bff6cfffcf8b0c25c08891d66b987be [diff] |
PCI: designware: Fix configuration base address when using 'reg' The code has calculated cfg0_base and cfg1_base when parsing 'reg' or 'ranges' property of PCI DTS node, so remove duplicate calculation. When using 'reg', resource cfg is not used, so this code computed an incorrect configuration base. Signed-off-by: Minghuan Lian <Minghuan.Lian@freescale.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Mohit KUMAR <mohit.kumar@st.com>