Discussion:
[PATCH] bcma: Add dependency on OF_ADDRESS
Julian Calaby
2014-10-10 00:24:53 UTC
Permalink
Hi,
Commit 2101e533f41a ("bcma: register bcma as device tree driver")
introduces a hard dependency on OF_ADDRESS into the bcma driver.
OF_ADDRESS is specifically disabled for the sparc architecture.
This results in the following error when building sparc64:allmodco=
nfig.
Does this mean on sparc (using allmodconfig) you will get CONFIG_OF
and !CONFIG_OF_ADDRESS? Does that makes sense?
config OF_ADDRESS
def_bool y
depends on !SPARC
select OF_ADDRESS_PCI if PCI
Presumably there is a reason to disable OF_ADDRESS for sparc.
Why not ask the sparclinux list? (CC'd)

Thanks,

--=20
Julian Calaby

Email: ***@gmail.com
Profile: http://www.google.com/profiles/julian.calaby/
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" i=
n
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
David Miller
2014-10-10 04:32:38 UTC
Permalink
=46rom: Julian Calaby <julian.calaby-***@public.gmane.org>
Date: Fri, 10 Oct 2014 11:24:53 +1100
Post by Julian Calaby
Hi,
=20
Commit 2101e533f41a ("bcma: register bcma as device tree driver")
introduces a hard dependency on OF_ADDRESS into the bcma driver.
OF_ADDRESS is specifically disabled for the sparc architecture.
This results in the following error when building sparc64:allmodc=
onfig.
Post by Julian Calaby
Does this mean on sparc (using allmodconfig) you will get CONFIG_OF
and !CONFIG_OF_ADDRESS? Does that makes sense?
config OF_ADDRESS
def_bool y
depends on !SPARC
select OF_ADDRESS_PCI if PCI
Presumably there is a reason to disable OF_ADDRESS for sparc.
=20
Why not ask the sparclinux list? (CC'd)
On sparc, at boot time we precompute all of the addresses provided in
the OF device tree.

So we need none of this OF_ADDRESS infrastructure.

=46rankly, I've always believed that this is how address computation
should be done on OF platforms, and it simplifies drivers massively.
You really only need to implement 2 or 3 bus translators to make it
work. Others have disagreed with me.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireles=
s" in
the body of a message to majordomo-***@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...