soc: ixp4xx: move cpu detection to linux/soc/ixp4xx/cpu.h
Generic drivers are unable to use the feature macros from mach/cpu.h or the feature bits from mach/hardware.h, so move these into a global header file along with some dummy helpers that list these features as disabled elsewhere. Cc: David S. Miller <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: netdev@vger.kernel.org Cc: Zoltan HERPAI <wigyori@uid0.hu> Cc: Raylynn Knight <rayknight@me.com> Signed-off-by:Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
Showing
- arch/arm/mach-ixp4xx/common.c 22 additions, 0 deletionsarch/arm/mach-ixp4xx/common.c
- arch/arm/mach-ixp4xx/include/mach/hardware.h 1 addition, 1 deletionarch/arm/mach-ixp4xx/include/mach/hardware.h
- arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h 0 additions, 54 deletionsarch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
- drivers/crypto/ixp4xx_crypto.c 4 additions, 0 deletionsdrivers/crypto/ixp4xx_crypto.c
- drivers/net/ethernet/xscale/ixp4xx_eth.c 1 addition, 0 deletionsdrivers/net/ethernet/xscale/ixp4xx_eth.c
- drivers/net/ethernet/xscale/ptp_ixp46x.c 1 addition, 2 deletionsdrivers/net/ethernet/xscale/ptp_ixp46x.c
- drivers/net/wan/ixp4xx_hss.c 1 addition, 0 deletionsdrivers/net/wan/ixp4xx_hss.c
- drivers/soc/ixp4xx/ixp4xx-npe.c 1 addition, 1 deletiondrivers/soc/ixp4xx/ixp4xx-npe.c
- drivers/soc/ixp4xx/ixp4xx-qmgr.c 1 addition, 1 deletiondrivers/soc/ixp4xx/ixp4xx-qmgr.c
- include/linux/soc/ixp4xx/cpu.h 106 additions, 0 deletionsinclude/linux/soc/ixp4xx/cpu.h
Please register or sign in to comment