From: Philip Oberfichtner Date: Fri, 20 May 2022 08:46:22 +0000 (+0200) Subject: ARM: imx6: Remove CONFIG_FEC_MXC_PHYADDR from DH header X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6ecd1d66a92d53e624c73f92d092a7220961be4c;p=u-boot.git ARM: imx6: Remove CONFIG_FEC_MXC_PHYADDR from DH header 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 Signed-off-by: Philip Oberfichtner --- diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h index 2b14464dff..178f5a6e7d 100644 --- a/include/configs/dh_imx6.h +++ b/include/configs/dh_imx6.h @@ -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