Changeset 32855


Ignore:
Timestamp:
2012-07-25T17:50:13+02:00 (6 years ago)
Author:
florian
Message:

[octeon] move i2c driver to target modules.mk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/i2c.mk

    r32850 r32855  
    5252 
    5353$(eval $(call KernelPackage,i2c-algo-bit)) 
    54  
    55  
    56 I2C_ALGOPCA_MODULES:= \ 
    57   CONFIG_I2C_ALGOPCA:drivers/i2c/algos/i2c-algo-pca 
    58  
    59 define KernelPackage/i2c-algo-pca 
    60   $(call i2c_defaults,$(I2C_ALGOPCA_MODULES),55) 
    61   TITLE:=I2C PCA 9564 interfaces 
    62   DEPENDS:=kmod-i2c-core 
    63 endef 
    64  
    65 define KernelPackage/i2c-algo-pca/description 
    66  Kernel modules for I2C PCA 9564 interfaces. 
    67 endef 
    68  
    69 $(eval $(call KernelPackage,i2c-algo-pca)) 
    70  
    71  
    72 I2C_ALGOPCF_MODULES:= \ 
    73   CONFIG_I2C_ALGOPCF:drivers/i2c/algos/i2c-algo-pcf 
    74  
    75 define KernelPackage/i2c-algo-pcf 
    76   $(call i2c_defaults,$(I2C_ALGOPCF_MODULES),55) 
    77   TITLE:=I2C PCF 8584 interfaces 
    78   DEPENDS:=kmod-i2c-core 
    79 endef 
    80  
    81 define KernelPackage/i2c-algo-pcf/description 
    82  Kernel modules for I2C PCF 8584 interfaces 
    83 endef 
    84  
    85 $(eval $(call KernelPackage,i2c-algo-pcf)) 
    86  
    87  
    88 I2C_GPIO_MODULES:= \ 
    89   CONFIG_I2C_GPIO:drivers/i2c/busses/i2c-gpio 
    90  
    91 define KernelPackage/i2c-gpio 
    92   $(call i2c_defaults,$(I2C_GPIO_MODULES),59) 
    93   TITLE:=GPIO-based bitbanging I2C 
    94   DEPENDS:=@GPIO_SUPPORT +kmod-i2c-algo-bit 
    95 endef 
    96  
    97 define KernelPackage/i2c-gpio/description 
    98  Kernel modules for a very simple bitbanging I2C driver utilizing the 
    99  arch-neutral GPIO API to control the SCL and SDA lines. 
    100 endef 
    101  
    102 $(eval $(call KernelPackage,i2c-gpio)) 
    103  
    104  
    105 OF_I2C_MODULES:=\ 
    106   CONFIG_OF_I2C:drivers/of/of_i2c 
    107  
    108 define KernelPackage/of-i2c 
    109   $(call i2c_defaults,$(OF_I2C_MODULES),58) 
    110   TITLE:=OpenFirmware I2C accessors 
    111   DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx||TARGET_mpc52xx||TARGET_mpc83xx||TARGET_mpc85xx \ 
    112           kmod-i2c-core 
    113 endef 
    114  
    115 define KernelPackage/of-i2c/description 
    116  Kernel module for OpenFirmware I2C accessors. 
    117 endef 
    118  
    119 $(eval $(call KernelPackage,of-i2c)) 
    120  
    121 I2C_MPC_MODULES:=\ 
    122   CONFIG_I2C_MPC:drivers/i2c/busses/i2c-mpc 
    123  
    124 define KernelPackage/i2c-mpc 
    125   $(call i2c_defaults,$(I2C_MPC_MODULES),59) 
    126   TITLE:=MPC I2C accessors 
    127   DEPENDS:=@TARGET_mpc52xx||TARGET_mpc83xx||TARGET_mpc85xx \ 
    128           +kmod-i2c-core +kmod-of-i2c 
    129 endef 
    130  
    131 define KernelPackage/i2c-mpc/description 
    132  Kernel module for Freescale MPC52xx MPC83xx MPC85xx I2C accessors. 
    133 endef 
    134  
    135 $(eval $(call KernelPackage,i2c-mpc)) 
    136  
    137 I2C_IBM_IIC_MODULES:=\ 
    138   CONFIG_I2C_IBM_IIC:drivers/i2c/busses/i2c-ibm_iic 
    139  
    140 define KernelPackage/i2c-ibm-iic 
    141   $(call i2c_defaults,$(OF_I2C_MODULES),59) 
    142   TITLE:=IBM PPC 4xx on-chip I2C interface support 
    143   DEPENDS:=@TARGET_ppc40x||TARGET_ppc4xx +kmod-i2c-core +kmod-of-i2c 
    144 endef 
    145  
    146 define KernelPackage/i2c-ibm-iic/description 
    147  Kernel module for IIC peripheral found on embedded IBM PPC4xx based systems. 
    148 endef 
    149  
    150 $(eval $(call KernelPackage,i2c-ibm-iic)) 
    151  
    152 I2C_MV64XXX_MODULES:=\ 
    153   CONFIG_I2C_MV64XXX:drivers/i2c/busses/i2c-mv64xxx 
    154  
    155 define KernelPackage/i2c-mv64xxx 
    156   $(call i2c_defaults,$(I2C_MV64XXX_MODULES),59) 
    157   TITLE:=Orion Platform I2C interface support 
    158   DEPENDS:=@TARGET_kirkwood||TARGET_orion +kmod-i2c-core 
    159 endef 
    160  
    161 define KernelPackage/i2c-mv64xxx/description 
    162  Kernel module for I2C interface on the Kirkwood and Orion 
    163  family processors. 
    164 endef 
    165  
    166 $(eval $(call KernelPackage,i2c-mv64xxx)) 
    167  
    168  
    169 I2C_AT91_MODULES:=\ 
    170   CONFIG_I2C_AT91:drivers/i2c/busses/i2c-at91 
    171  
    172 define KernelPackage/at91-i2c 
    173   $(call i2c_defaults,$(I2C_AT91_MODULES),55) 
    174   TITLE:=I2C (TWI) master driver for Atmel AT91 
    175   DEPENDS:=@TARGET_at91 +kmod-i2c-core 
    176 endef 
    177  
    178 define KernelPackage/at91-i2c/description 
    179  Kernel module to use the I2C (TWI) master driver for Atmel AT91 
    180 endef 
    181  
    182 $(eval $(call KernelPackage,at91-i2c)) 
    183  
    184 I2C_OCTEON_MODULES:=\ 
    185   CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon 
    186  
    187 define KernelPackage/octeon-i2c 
    188   $(call i2c_defaults,$(I2C_OCTEON_MODULES),59) 
    189   TITLE:=I2C master driver for Cavium Octeon 
    190   DEPENDS:=@TARGET_octeon +kmod-i2c-core 
    191 endef 
    192  
    193 define KernelPackage/octeon-i2c/description 
    194   Kernel module to use the I2C master driver on Cavium Octeon 
    195 endef 
    196  
    197 $(eval $(call KernelPackage,octeon-i2c)) 
    198  
    19954 
    20055I2C_TINY_USB_MODULES:= \ 
  • trunk/target/linux/octeon/modules.mk

    r22145 r32855  
    3838 
    3939$(eval $(call KernelPackage,usb-octeon)) 
     40 
     41I2C_OCTEON_MODULES:=\ 
     42  CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon 
     43 
     44define KernelPackage/octeon-i2c 
     45  $(call i2c_defaults,$(I2C_OCTEON_MODULES),59) 
     46  TITLE:=I2C master driver for Cavium Octeon 
     47  DEPENDS:=@TARGET_octeon +kmod-i2c-core 
     48endef 
     49 
     50define KernelPackage/octeon-i2c/description 
     51  Kernel module to use the I2C master driver on Cavium Octeon 
     52endef 
     53 
     54$(eval $(call KernelPackage,octeon-i2c)) 
     55 
Note: See TracChangeset for help on using the changeset viewer.