aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/soc/mmp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2019-10-21soc: mmp: guard include of asm/cputype.h with CONFIG_ARM{,64}Olof Johansson1-0/+2
Since this driver is enabled for COMPILE_TEST, it avoids build error on x86 allmodconfig: In file included from /build/drivers/phy/marvell/phy-mmp3-usb.c:12: /build/include/linux/soc/mmp/cputype.h:5:10: fatal error: asm/cputype.h: No such file or directory Link: https://lore.kernel.org/r/20191022015658.14624-1-olof@lixom.net Signed-off-by: Olof Johansson <olof@lixom.net>
2019-10-17ARM: mmp: move cputype.h to include/linux/soc/Lubomir Rintel1-0/+85
Let's move cputype.h away from mach-mmp/ so that the drivers outside that directory are able to tell the precise silicon revision. The MMP3 USB OTG PHY driver needs this. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>