diff mbox

i2c: img-scb: Allow building for MIPS

Message ID 1416355113-8942-1-git-send-email-abrestic@chromium.org
State Accepted
Headers show

Commit Message

Andrew Bresticker Nov. 18, 2014, 11:58 p.m. UTC
The SCB is present on IMG SoCs other than the META-based TZ1090,
such as the MIPS-based Pistachio SoC.  Relax the Kconfig dependency
so that it can be built on any MIPS or META machine.

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
---
Based on i2c/for-next
---
 drivers/i2c/busses/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Wolfram Sang Nov. 19, 2014, 9:07 a.m. UTC | #1
On Wed, Nov 19, 2014 at 12:03:08AM +0000, James Hogan wrote:
> On Tue, Nov 18, 2014 at 03:58:33PM -0800, Andrew Bresticker wrote:
> > The SCB is present on IMG SoCs other than the META-based TZ1090,
> > such as the MIPS-based Pistachio SoC.  Relax the Kconfig dependency
> > so that it can be built on any MIPS or META machine.
> > 
> > Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
> 
> Looks good to me.
> 
> Acked-by: James Hogan <james.hogan@imgtec.com>
> 
> Cheers
> James
> 

Applied to for-next, thanks!
Ezequiel Garcia Nov. 20, 2014, 10:18 a.m. UTC | #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On 11/19/2014 06:07 AM, Wolfram Sang wrote:
> On Wed, Nov 19, 2014 at 12:03:08AM +0000, James Hogan wrote:
>> On Tue, Nov 18, 2014 at 03:58:33PM -0800, Andrew Bresticker
>> wrote:
>>> The SCB is present on IMG SoCs other than the META-based
>>> TZ1090, such as the MIPS-based Pistachio SoC.  Relax the
>>> Kconfig dependency so that it can be built on any MIPS or META
>>> machine.
>>> 
>>> Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
>> 
>> Looks good to me.
>> 
>> Acked-by: James Hogan <james.hogan@imgtec.com>
>> 
>> Cheers James
>> 
> 
> Applied to for-next, thanks!
> 

Can't find this one, maybe it wasn't pushed yet?
- -- 
Ezequiel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJUbcALAAoJEIOKbhOEIHKi5U4P+gJ/JwXOFFCbWxhA8SQZShWC
Rwx8RSlvhbsOPPc7G596mMu0nfFBQFVBOII1Pw6UByPlUpi5FaLxQtEnxdWYNGbX
nQ7opxx/r0Ml5z5FsNQnBZ8olaoBfzZb1o/yl91cavul8JND1DCiyljAhvFzwRkv
ggnb8e6VY4ezqhYeS7HxNeVVjl+a3VQRHXnRfKYY/yFzVGO8/p1dPEXgm30hbIiK
NW9DoTq7HRkgtPtEJR1/pR0OnRvE3nA7kgi0u5ZUA8zjlzMwDm1Bpn/MQugX/4Lq
bRCbF67AMYDQAbifimZoxG/mlXRXpaKvcS/o4yagoTdXQuWFPNrRZyRvz9fSaGuZ
GD3sE6IGYwhXIP+o6CIHL/6SUPT50+5hGCcuBivwr3fiBw3SzPDJXAG29gUXo0v7
vW4RTV+mouEgJX4YKdjtLaeCdOrru6zwXEVlhpCky8mczAoYFahK2nm7BhL/aC2y
7nrPNLGAaEg0MXuaWwmgBeYqIHkJyf4TAmL2A5uj4kb8zH7QlzyNSa4ETwL1VqkE
krEOjfr6KsQ2YW9MNEUK8S7ti9WB3ezUOQYEOKGn/w6ZAiynzev6YRg+sWyDhsK2
qZ065wYttrSB/ShHagbQbKt+4F+WXEkLl+T72ZNqwj+02G3/cU9i5BjH8XTsPfJu
Qp66n26U/8ynz4N5rafo
=qMRD
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 03c6119..16c649a 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -526,10 +526,10 @@  config I2C_IBM_IIC
 
 config I2C_IMG
 	tristate "Imagination Technologies I2C SCB Controller"
-	depends on SOC_TZ1090 || COMPILE_TEST
+	depends on MIPS || METAG || COMPILE_TEST
 	help
 	  Say Y here if you want to use the IMG I2C SCB controller,
-	  available on the TZ1090 SoC.
+	  available on the TZ1090 and other IMG SoCs.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-img-scb.