arm: mach-k3: Move MSMC fixup to SoC level
authorAndrew Davis <afd@ti.com>
Thu, 6 Apr 2023 16:38:10 +0000 (11:38 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 24 Apr 2023 17:18:47 +0000 (13:18 -0400)
commit30e96a240156767d0d4e0a2e353ce68d22969938
treeca58b5a7bc783cb93a8154167a3a952c5babd3a5
parent5cf850c1627dd485389104dbe33e17df37a04b03
arm: mach-k3: Move MSMC fixup to SoC level

The MSMC fixup is something we do based on SoC, not based on the board.
So this fixup does not belong in the board files. Move this to the
mach-k3 common file so that it does not have to be done in each board
that uses these SoCs.

We use ft_system_setup() here instead of ft_board_setup() since it is no
longer board level. Enable OF_SYSTEM_SETUP in the configurations that use
this to keep functionality the same.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
16 files changed:
arch/arm/mach-k3/common.c
arch/arm/mach-k3/include/mach/sys_proto.h
board/siemens/iot2050/board.c
board/ti/am65x/evm.c
board/ti/j721e/evm.c
board/ti/j721s2/evm.c
configs/am65x_evm_a53_defconfig
configs/am65x_hs_evm_a53_defconfig
configs/iot2050_pg1_defconfig
configs/iot2050_pg2_defconfig
configs/j7200_evm_a72_defconfig
configs/j7200_hs_evm_a72_defconfig
configs/j721e_evm_a72_defconfig
configs/j721e_hs_evm_a72_defconfig
configs/j721s2_evm_a72_defconfig
configs/j721s2_hs_evm_a72_defconfig