diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-08-12 14:19:41 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-08-23 16:09:26 +0200 |
commit | 1ebfb6e6c6312138ce128d7b51fbe2092b37d907 (patch) | |
tree | 76026a252fdeaa58415566bc1a95bdb64c061557 /drivers | |
parent | d9f189995aeca05cc20199f1fc78e7a093ad1ff3 (diff) | |
download | barebox-1ebfb6e6c6312138ce128d7b51fbe2092b37d907.tar.gz barebox-1ebfb6e6c6312138ce128d7b51fbe2092b37d907.tar.xz |
net: make ARC MAC driver 32-bit only
The driver assumes 32-bit pointers and only matches against 32-bit
rockchip device trees. Make this official in the kconfig, so it's
not selectable on 64 bit, where it would issue build warnings and
probably not work anyway.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210812121944.4419-2-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 4a290bebbd..397164f3f1 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -28,7 +28,7 @@ config DRIVER_NET_AR231X config DRIVER_NET_ARC_EMAC bool "ARC Ethernet MAC driver" - depends on HAS_DMA + depends on HAS_DMA && 32BIT select PHYLIB help This option enables support for the ARC EMAC ethernet |