• Arnd Bergmann's avatar
    ARM: vexpress: use ARM_CPU_SUSPEND if needed · 95fcedb0
    Arnd Bergmann authored
    The vexpress tc2 power management code calls mcpm_loopback, which
    is only available if ARM_CPU_SUSPEND is enabled, otherwise we
    get a link error:
    
    arch/arm/mach-vexpress/built-in.o: In function `tc2_pm_init':
    arch/arm/mach-vexpress/tc2_pm.c:389: undefined reference to `mcpm_loopback'
    
    This explicitly selects ARM_CPU_SUSPEND like other platforms that
    need it.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Fixes: 3592d7e0 ("ARM: 8082/1: TC2: test the MCPM loopback during boot")
    Acked-by: default avatarNicolas Pitre <nico@linaro.org>
    Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
    Cc: Kevin Hilman <khilman@linaro.org>
    Cc: Sudeep Holla <sudeep.holla@arm.com>
    Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
    95fcedb0
Kconfig 2.53 KB