]> git.baikalelectronics.ru Git - uboot.git/commit
armv8: fsl-lsch3: convert CONFIG_TARGET_x to CONFIG_ARCH_x
authorMichael Walle <michael@walle.cc>
Mon, 21 Oct 2019 23:10:57 +0000 (01:10 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 8 Nov 2019 05:43:39 +0000 (11:13 +0530)
commit27e0365d36ec81aa20b3766c2186eafec001ab96
tree74d09190ebf2755d280410f9c2b98b8bc65cdab2
parent3ee3949c7cc01ec4231f0f15b1b913c03eaade23
armv8: fsl-lsch3: convert CONFIG_TARGET_x to CONFIG_ARCH_x

The clocks are not dependent on the target but only on the SoC.
Therefore, convert the CONFIG_TARGET_x macros to the corresponding
CONFIG_ARCH_x. This will allow other targets to automatically use the
common code. Otherwise every new target would have to add itself to the
"#if defined(CONFIG_TARGET_x) || .." macros.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c