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)
commit065ee175e050873f759d8b190c10f64cde688670
tree74d09190ebf2755d280410f9c2b98b8bc65cdab2
parentb4a59115e2cad84a47352948570c02cce34591b1
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