]> git.baikalelectronics.ru Git - uboot.git/commitdiff
ARM: imx6: Remove CONFIG_FEC_MXC_PHYADDR from DH header
authorPhilip Oberfichtner <pro@denx.de>
Fri, 20 May 2022 08:46:22 +0000 (10:46 +0200)
committerStefano Babic <sbabic@denx.de>
Fri, 20 May 2022 10:36:48 +0000 (12:36 +0200)
Use phy address from device tree instead of CONFIG_FEC_MXC_PHYADDR from
board header. This is required, because the DH picoITX and DRC02 boards
require different settings than PDK2. The corresponding 'phy-handle'
device tree properties are already there.

I tested this change on picoITX and DRC02, but on PDK2 it is untested.

Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Philip Oberfichtner <pro@denx.de>
include/configs/dh_imx6.h

index 2b14464dff12015d057ac78f83b5dfe55b2a5a99..178f5a6e7d60c674186d84b46ba3ab7be75624d0 100644 (file)
@@ -30,9 +30,6 @@
 /* Bootcounter */
 #define CONFIG_SYS_BOOTCOUNT_BE
 
-/* FEC ethernet */
-#define CONFIG_FEC_MXC_PHYADDR         7
-
 /* MMC Configs */
 #define CONFIG_SYS_FSL_ESDHC_ADDR      0
 #define CONFIG_SYS_FSL_USDHC_NUM       3