]> git.baikalelectronics.ru Git - uboot.git/commitdiff
net: mvneta: Don't check for CONFIG_PHYLIB
authorMarek Behún <marek.behun@nic.cz>
Wed, 27 Apr 2022 10:41:56 +0000 (12:41 +0200)
committerStefan Roese <sr@denx.de>
Wed, 4 May 2022 05:05:51 +0000 (07:05 +0200)
Drop checking for CONFIG_PHYLIB in mvneta, this is already done in
Kconfig.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/mvneta.c

index 5c3f7125b57e5ebb7745b961760217d1919f6e0c..0ec9d2957cd60c179449d708b7981d6e708fadc1 100644 (file)
 
 DECLARE_GLOBAL_DATA_PTR;
 
-#if !defined(CONFIG_PHYLIB)
-# error Marvell mvneta requires PHYLIB
-#endif
-
 #define CONFIG_NR_CPUS         1
 #define ETH_HLEN               14      /* Total octets in header */