On Wed, Jan 08, 2014 at 02:30:16PM +0530, Naresh Bhat wrote:
Interesting, I wonder if any system manages to have ARM_AMBA without being ARM? This looks like an upstream cleanup to only rely on ARM_AMBA would be the correct option here.
May not be right; I see the following reason for the dependency
Does this mean it is not actually implemented in the model so we do not need this driver?
Graeme
commit 41e9f3f71bc7a5d41a2b925cfdc0dc22a77f7d8c Author: Alessandro Rubini rubini@gnudd.com Date: Wed Feb 20 23:41:04 2013 +0100
watchdog: sp805_wdt depends on ARM The SP805 driver is only used by the Spear machines, and uses writel_relaxed, which is not available on all architectures. The dependency from CONFIG_ARM avoids compilation problems under randomconfig when CONFIG_ARM_AMBA is enabled for x86 builds. Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com> Signed-off-by: Davide Ciminaghi <ciminaghi@gnudd.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
... .......