]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: mach-tegra: rearrange SPL configs
authorSvyatoslav Ryhel <clamor95@gmail.com>
Fri, 1 Dec 2023 11:22:00 +0000 (13:22 +0200)
committerSvyatoslav Ryhel <clamor95@gmail.com>
Tue, 19 Dec 2023 19:24:30 +0000 (21:24 +0200)
SPL configs are used only by the ARMv7-based Tegra SOC's, so move
SPL_SYSRESET under TEGRA_ARMV7_COMMON selection and enable SPL_DM
since SPL_SYSRESET depends on it.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
arch/arm/mach-tegra/Kconfig

index f273778128786d7c4b8ee1f35a5f6d90ce195790..547372a639fdeec00aeefb5892b45068f8bd8001 100644 (file)
@@ -61,7 +61,6 @@ config TEGRA_COMMON
        select OF_CONTROL
        select SPI
        select SYSRESET
-       select SPL_SYSRESET if SPL
        select SYSRESET_TEGRA
        imply CMD_DM
        imply CRC32_VERIFY
@@ -78,7 +77,9 @@ config TEGRA_ARMV7_COMMON
        select CPU_V7A
        select SPL
        select SPL_BOARD_INIT if SPL
+       select SPL_DM if SPL
        select SPL_SKIP_LOWLEVEL_INIT_ONLY if SPL
+       select SPL_SYSRESET if SPL
        select SUPPORT_SPL
        select TIMER
        select TEGRA_CLKRST