]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: layerscape: Use ARCH_LS104?A insead of TARGET_LS104?ARDB
authorSean Anderson <sean.anderson@seco.com>
Tue, 26 Apr 2022 18:31:49 +0000 (14:31 -0400)
committerPeng Fan <peng.fan@nxp.com>
Mon, 20 Jun 2022 01:18:26 +0000 (09:18 +0800)
commitbcb3dae32517a384138a953521436b37512fdd1c
tree3e9ff4bbc8c24adbd742f11d4f841b2ecbffbc14
parent7041601141447105249fdb71166a7abaee6fa378
ARM: layerscape: Use ARCH_LS104?A insead of TARGET_LS104?ARDB

These frequency calculations depend on the RCW format, which is not
dependent on any particular board. Switch to using ARCH symbols instead
of TARGET.

This whole function could probably use less ifdefs, but for now just do
a minimal conversion.

Fixes: 24cb6f2295 ("fsl-layerscape: Add fsl_esdhc peripheral clock support")
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c