linux_dsm_epyc7002/arch/arm/mach-mmp
Lubomir Rintel 76f4e2c3b6 ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt
cpu_is_mmp2() was equivalent to cpu_is_pj4(), wouldn't be correct for
multiplatform kernels. Fix it by also considering mmp_chip_id, as is
done for cpu_is_pxa168() and cpu_is_pxa910() above.

Moreover, it is only available with CONFIG_CPU_MMP2 and thus doesn't work
on DT-based MMP2 machines. Enable it on CONFIG_MACH_MMP2_DT too.

Note: CONFIG_CPU_MMP2 is only used for machines that use board files
instead of DT. It should perhaps be renamed. I'm not doing it now, because
I don't have a better idea.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: stable@vger.kernel.org
Signed-off-by: Olof Johansson <olof@lixom.net>
2018-12-03 12:39:21 -08:00
..
addr-map.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
aspenite.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00
avengers_lite.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
brownstone.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
clock-mmp2.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-pxa168.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock-pxa910.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c ARM: mmp: let clk_disable() return immediately if clk is NULL 2017-03-30 17:38:34 +02:00
clock.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
common.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
common.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
cputype.h ARM: mmp/mmp2: fix cpu_is_mmp2() on mmp2-dt 2018-12-03 12:39:21 -08:00
devices.c USB: EHCI: ehci-mv: use phy-pxa-usb 2018-09-20 13:07:55 +02:00
devices.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
flint.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
gplugd.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
irqs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
jasper.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
Kconfig ARM: do away with ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB 2016-06-03 12:18:13 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-mmp2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa168.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp-pxa910.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mfp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mmp2-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
mmp2.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
mmp2.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
mmp-dt.c ARM: appropriate __init annotation for const data 2015-07-28 13:55:27 +02:00
pm-mmp2.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-mmp2.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-pxa910.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pm-pxa910.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa168.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa168.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
pxa910.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
pxa910.h ARM: pxa: move header file out of I2C realm 2017-11-28 22:49:30 +01:00
regs-apbc.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-apmu.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-icu.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-timers.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
regs-usb.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
sram.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
tavorevb.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
teton_bga.c ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
teton_bga.h ARM: mmp: make all header files local 2015-12-01 21:44:30 +01:00
time.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
ttc_dkb.c mtd: nand: remove useless fields from pxa3xx NAND platform data 2018-03-02 21:51:41 +01:00