Skip to content
Snippets Groups Projects
Commit c9254f5b authored by John Crispin's avatar John Crispin
Browse files

make OF_I2C build as part of i2c-core


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 36179
parent 97adfa35
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,7 @@ endef ...@@ -22,6 +22,7 @@ endef
I2C_CORE_MODULES:= \ I2C_CORE_MODULES:= \
CONFIG_I2C:drivers/i2c/i2c-core \ CONFIG_I2C:drivers/i2c/i2c-core \
CONFIG_OF_I2C:drivers/of/of_i2c \
CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev CONFIG_I2C_CHARDEV:drivers/i2c/i2c-dev
define KernelPackage/i2c-core define KernelPackage/i2c-core
...@@ -100,23 +101,6 @@ endef ...@@ -100,23 +101,6 @@ endef
$(eval $(call KernelPackage,i2c-gpio)) $(eval $(call KernelPackage,i2c-gpio))
OF_I2C_MODULES:=\
CONFIG_OF_I2C:drivers/of/of_i2c
define KernelPackage/of-i2c
$(call i2c_defaults,$(OF_I2C_MODULES),58)
TITLE:=OpenFirmware I2C accessors
DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx||TARGET_mpc52xx||TARGET_mpc83xx||TARGET_mpc85xx||TARGET_mvebu \
kmod-i2c-core
endef
define KernelPackage/of-i2c/description
Kernel module for OpenFirmware I2C accessors.
endef
$(eval $(call KernelPackage,of-i2c))
I2C_MPC_MODULES:=\ I2C_MPC_MODULES:=\
CONFIG_I2C_MPC:drivers/i2c/busses/i2c-mpc CONFIG_I2C_MPC:drivers/i2c/busses/i2c-mpc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment