soc: ixp4xx: move cpu detection to linux/soc/ixp4xx/cpu.h
authorArnd Bergmann <arnd@arndb.de>
Sun, 25 Aug 2019 19:57:25 +0000 (21:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 17 Jun 2021 13:30:54 +0000 (15:30 +0200)
commit09aa9aabdcc4966270b031816a16d4641fb45dfa
treef8d5dbec14133fb86eadae65dcdfc481732e13c1
parentf7821b49345848246692c6e0aa170c8bc6723f86
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>
arch/arm/mach-ixp4xx/common.c
arch/arm/mach-ixp4xx/include/mach/cpu.h [deleted file]
arch/arm/mach-ixp4xx/include/mach/hardware.h
arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h
drivers/crypto/ixp4xx_crypto.c
drivers/net/ethernet/xscale/ixp4xx_eth.c
drivers/net/ethernet/xscale/ptp_ixp46x.c
drivers/net/wan/ixp4xx_hss.c
drivers/soc/ixp4xx/ixp4xx-npe.c
drivers/soc/ixp4xx/ixp4xx-qmgr.c
include/linux/soc/ixp4xx/cpu.h [new file with mode: 0644]