of: Fix address decoding on Bimini and js2x machines
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 3 Jul 2013 06:01:10 +0000 (16:01 +1000)
committerGrant Likely <grant.likely@linaro.org>
Thu, 4 Jul 2013 15:30:11 +0000 (16:30 +0100)
commit6dd18e4684f3d188277bbbc27545248487472108
treeec05df129fedc5f9b7660e3af7937e11d12a2433
parentba166e900b502b74b9425881caa94f94891b0a1f
of: Fix address decoding on Bimini and js2x machines

 Commit:

  e38c0a1fbc5803cbacdaac0557c70ac8ca5152e7
  of/address: Handle #address-cells > 2 specially

broke real time clock access on Bimini, js2x, and similar powerpc
machines using the "maple" platform. That code was indirectly relying
on the old (broken) behaviour of the translation for the hypertransport
to ISA bridge.

This fixes it by treating hypertransport as a PCI bus

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
drivers/of/address.c