u-boot-brain/arch/arm/cpu/armv8/fsl-layerscape
Pankaj Bansal 2e53759dc6 armv8: fsl-layerscape: reorder rgmii dpmacs' enablement
some dpmacs in armv8a based freescale layerscape SOCs can be
configured via both serdes(sgmii, xfi, xlaui etc) bits and via
EC*_PMUX(rgmii) bits in RCW.
e.g. dpmac 17 and 18 in LX2160A can be configured as SGMII from
serdes bits and as RGMII via EC1_PMUX/EC2_PMUX bits
Now if a dpmac is enabled by serdes bits then it takes precedence
over EC*_PMUX bits. i.e. in LX2160A if we select serdes protocol
that configures dpmac17 as SGMII and set the EC1_PMUX as RGMII,
then the dpmac is SGMII and not RGMII.

Therefore, move the fsl_rgmii_init after fsl_serdes_init. in
fsl_rgmii_init function of SOC, we will check if the dpmac is enabled
or not? if it is (fsl_serdes_init has already enabled the dpmac), then
don't enable it.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
2019-02-19 10:26:43 +05:30
..
doc watchdog: imx: add config to disable wdog reset 2019-01-01 14:12:18 +01:00
cpu.c armv8: fsl-layerscape: reorder rgmii dpmacs' enablement 2019-02-19 10:26:43 +05:30
cpu.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fdt.c armv8: ls1043a: correct the PCIe INTx fixup 2019-01-17 13:16:44 -08:00
fsl_lsch2_serdes.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_lsch2_speed.c armv8/fsl-lsch2: correct QMAN clock 2018-05-09 09:17:51 -05:00
fsl_lsch3_serdes.c armv8, lx2160a: Initialize ethernet array in serdes_init 2019-02-19 10:26:43 +05:30
fsl_lsch3_speed.c armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support 2018-09-27 08:50:26 -07:00
icid.c armv8: ls1046a: setup fman ports ICIDs and device tree 2018-08-10 10:35:42 -07:00
Kconfig armv8: ls2088ardb: Add TFABOOT support 2019-01-17 13:16:22 -08:00
lowlevel.S armv8: lx2160a: Add LX2160A SoC Support 2018-12-06 14:37:19 -08:00
ls1012a_serdes.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ls1043_ids.c armv8: ls1043a: add icid setup support 2018-09-27 08:58:15 -07:00
ls1043a_psci.S SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ls1043a_serdes.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ls1046_ids.c armv8: ls1046a: setup SEC ICIDs and fix up device tree 2018-08-10 10:35:46 -07:00
ls1046a_serdes.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ls1088a_serdes.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ls2080a_serdes.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lx2160a_serdes.c armv8: lx2160a: Add LX2160A SoC Support 2018-12-06 14:37:19 -08:00
Makefile armv8: lx2160a: Add LX2160A SoC Support 2018-12-06 14:37:19 -08:00
mp.c common: Fix cpu nr type which is always unsigned type 2018-06-19 07:31:45 -04:00
ppa.c ppa/fm/qe: use block layer in ppa/fm/qe driver 2018-09-27 08:48:51 -07:00
soc.c armv8: fsl-layerscape: fixes for TFABOOT framework 2019-01-17 13:15:25 -08:00
spl.c armv8: ls1046ardb: Add falcon mode for for QSPI boot 2018-07-26 11:51:23 -07:00