configs: artik530/artik710_raptor: add i2c-stub to module
authorkibak.yoon <kibak.yoon@samsung.com>
Fri, 13 Oct 2017 04:26:59 +0000 (13:26 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Jan 2019 02:25:32 +0000 (11:25 +0900)
We need a test method for the i2c driver and framework on Artik.
And using a fake device is more convenient than a physical hardware device.
Therefore it would be good to enable i2c-stub for testing i2c feature on Artik.
This will be used for testing purposes only.

Change-Id: I893da44f54219dbd4c00fce0c8a2f0f97e93e967
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
arch/arm/configs/artik530_raptor_defconfig
arch/arm64/configs/artik710_raptor_defconfig

index 161e3b2ea633f43fb65968fab2d875022b56bafc..2c89bba50862802d62c01d928f212b86018a64a4 100644 (file)
@@ -2029,7 +2029,7 @@ CONFIG_I2C_NX=y
 #
 # Other I2C/SMBus bus drivers
 #
-# CONFIG_I2C_STUB is not set
+CONFIG_I2C_STUB=m
 CONFIG_I2C_SLAVE=y
 # CONFIG_I2C_SLAVE_EEPROM is not set
 # CONFIG_I2C_DEBUG_CORE is not set
index 769f468e172aac032e3f391b86430bcb0487f4d5..5a1f7ec99d613f5900ce2929587854d7848f7d47 100644 (file)
@@ -335,6 +335,7 @@ CONFIG_I2C_MUX_REG=m
 CONFIG_I2C_GPIO=y
 CONFIG_I2C_S3C2410=y
 CONFIG_I2C_SLAVE=y
+CONFIG_I2C_STUB=m
 CONFIG_SPI=y
 CONFIG_SPI_GPIO=m
 CONFIG_SPI_S3C64XX=y