]> git.dujemihanovic.xyz Git - u-boot.git/commit
arch: armv8: fsl-layerscape: export serdes config to environment
authorAlex Marginean <alexandru.marginean@nxp.com>
Fri, 10 Jan 2020 23:05:40 +0000 (01:05 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 24 Jan 2020 08:58:26 +0000 (14:28 +0530)
commit0d9d557de58c3e61f01e053d320ff2e8719336dc
treee2fe308f0f8adcd40ea435b479732876ae847c62
parenta2a1474674df7c924d7a328b6afb665ab7c4a26a
arch: armv8: fsl-layerscape: export serdes config to environment

Exports the serdes configuration as an environment variable for LS gen 3
SoCs, so it can be used in u-boot command line.  It should particularly
be useful for applying Linux DT overlays for the given serdes
configuration.
This code is called from arch_misc_init and not from the existing
serdes_init function because it depends on U-Boot environment being set
up.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/Kconfig
arch/arm/cpu/armv8/fsl-layerscape/cpu.c
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c
arch/arm/include/asm/arch-fsl-layerscape/config.h