i2c: designware: Allow build Baytrail semaphore support when IOSF_MBI=m
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Thu, 10 Dec 2015 11:48:44 +0000 (13:48 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Sun, 19 Jun 2016 17:27:20 +0000 (19:27 +0200)
commitf41021bba68371b7ff4bcb0fc764473de1782c14
tree1baef9ccf95873cc770c539d035d6e6c4ca4a3ac
parentd0bcd8df9aea2bcdbfcb074d408bdc7136031bc5
i2c: designware: Allow build Baytrail semaphore support when IOSF_MBI=m

I believe i2c-designware-baytrail.c doesn't have strict dependency that
Intel SoC IOSF Sideband support must be always built-in in order to be
able to compile support for Intel Baytrail I2C bus sharing HW semaphore.

Redefine build dependencies so that CONFIG_IOSF_MBI=y is required only
when CONFIG_I2C_DESIGNWARE_PLATFORM is built-in.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: David Box <david.e.box@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig