diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-01-15 22:41:31 -0600 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-02-23 16:39:25 +1100 |
commit | 8e64bbd66280ee39d4c91efc567587f6af53cc85 (patch) | |
tree | b35b60c28b7e19eedfa45b874686e850b2f2fb30 /hw/phb4.c | |
parent | 6158d1ce77c225ff295af95438cb5229ca755a12 (diff) | |
download | skiboot-8e64bbd66280ee39d4c91efc567587f6af53cc85.zip skiboot-8e64bbd66280ee39d4c91efc567587f6af53cc85.tar.gz skiboot-8e64bbd66280ee39d4c91efc567587f6af53cc85.tar.bz2 |
phb4: Always assign powerbus BARs
HostBoot configure them with weird values that confuse us, instead
let's just own the assignment. This is temporary, I will centralize
memory map management next but this gets us going.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-By: Michael Neuling <mikey@neuling.org>
[stewart@linux.vnet.ibm.com: Fixup commit message r.e. Mikey suggestion]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phb4.c')
-rw-r--r-- | hw/phb4.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -3296,8 +3296,12 @@ static void phb4_probe_stack(struct dt_node *stk_node, uint32_t pec_index, gcid, pec_index, stk_index, path); free(path); +#if 0 force_assign = dt_has_node_property(stk_node, "force-assign-bars", NULL); +#else + force_assign=1; +#endif pci_stack = pci_base + 0x40 * (stk_index + 1); nest_stack = nest_base + 0x40 * (stk_index + 1); |