1 From 4f217aaf4bca500f13b4c560a6bbb3708c8e5dc2 Mon Sep 17 00:00:00 2001
2 From: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
3 Date: Fri, 1 Jul 2016 04:37:53 +0530
4 Subject: [PATCH 69/93] armv8:pfe:frdm Reset external PHYs before driver
7 - Disable CONFIG_RESET_PHY_R, it is resetting PHYs after driver started
8 - Call reset_phy() before driver initialization
10 Signed-off-by: Bhaskar Upadhaya <Bhaskar.Upadhaya@nxp.com>
11 Signed-off-by: Anji J <anji.jagarlmudi@freescale.com>
13 board/freescale/ls1012afrdm/eth.c | 1 +
14 include/configs/ls1012afrdm.h | 1 -
15 2 files changed, 1 insertion(+), 1 deletion(-)
17 diff --git a/board/freescale/ls1012afrdm/eth.c b/board/freescale/ls1012afrdm/eth.c
18 index 90ed66b..be17310 100644
19 --- a/board/freescale/ls1012afrdm/eth.c
20 +++ b/board/freescale/ls1012afrdm/eth.c
21 @@ -46,6 +46,7 @@ int board_eth_init(bd_t *bis)
22 struct mdio_info mac1_mdio_info;
23 struct ccsr_scfg *scfg = (struct ccsr_scfg *)CONFIG_SYS_FSL_SCFG_ADDR;
27 /*TODO Following config should be done for all boards, where is the right place to put this */
28 out_be32(&scfg->pfeasbcr, in_be32(&scfg->pfeasbcr) | SCFG_PPFEASBCR_AWCACHE0);
29 diff --git a/include/configs/ls1012afrdm.h b/include/configs/ls1012afrdm.h
30 index 432317d..3de0cea 100644
31 --- a/include/configs/ls1012afrdm.h
32 +++ b/include/configs/ls1012afrdm.h
34 #define EMAC2_PHY_ADDR 0x1
36 #define CONFIG_PHY_REALTEK
37 -#define CONFIG_RESET_PHY_R