aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/cpu.c
Commit message (Collapse)AuthorAge
* ARM: SAMSUNG: Constify iomem address passed to s5p_init_cpuKrzysztof Kozlowski2016-07-06
| | | | | | The iomem passed to s5p_init_cpu is used as read-only. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
* ARM: SAMSUNG: Fixup endian issues in CPU detectionBen Dooks2016-06-21
| | | | | | | | | If the system is built for big endian, then the CPU identificaiton register will be read in the wrong order. Fix this by using readl_relaxed() on the register. Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
* ARM: SAMSUNG: print CPU id on probeOlof Johansson2014-12-22
| | | | | | | | | | It's useful to get the CPU ID/rev printed during boot sometimes, so add a line with that information. Given that the fields have moved within the register over time, don't try to be clever and parse it -- just print the raw values for now. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Kukjin Kim <kgene@kernel.org>
* ARM: SAMSUNG: Remove remaining legacy codeTomasz Figa2014-07-18
| | | | | | | | | | After refactoring suspend/resume, which was last part with dependencies on legacy code, all Kconfig symbols related to Samsung ATAGS support can be deselected and more unused code removed. This includes most of s5p-* code as well, as s5pv210 was their last user. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* ARM: S5PV210: Enable multi-platform build supportTomasz Figa2014-07-18
| | | | | | | | This makes it possible to enable the s5pv210 platform as part of a multiplatform kernel. Also redundant Kconfig options are removed. Signed-off-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* ARM: SAMSUNG: remove unneeded s3c24xx_init_cpu()Heiko Stuebner2014-02-13
| | | | | | | | | The function is nearly empty and samsung_cpu_rev is static so already 0 making the function obsolete, therefore remove it. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
* Disintegrate asm/system.h for ARMDavid Howells2012-03-28
| | | | | | | | Disintegrate asm/system.h for ARM. Signed-off-by: David Howells <dhowells@redhat.com> cc: Russell King <linux@arm.linux.org.uk> cc: linux-arm-kernel@lists.infradead.org
* ARM: SAMSUNG: Add support for handling of cpu revisionKukjin Kim2011-08-24
This patch adds plat-samsung/cpu.c for detecting of cpu id and silicon revision. This patch was originally from Changhwan Youn <chaos.youn@samsung.com> Acked-by: Changhwan Youn <chaos.youn@samsung.com> Cc: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>