ARM: imx: fix i.MX35 CPU architecture
Subsystems (3)
PATCH 1/1 ARM: imx: fix i.MX35 CPU architecture
The data sheet of the i.MX35 says it is an ARM1136JF-S processor, version r1p3, which, according to section "B.1. New instructions" of the ARM1136JF-S and ARM1136J-S Technical Reference Manual, makes the i.MX35 CPU architecture not only ARMv6, but ARMv6k.
--- .../arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/Kconfig +1 -1
@@ -73,7 +73,7 @@ config SOC_IMX31 config SOC_IMX35 bool - select CPU_V6 + select CPU_V6K select ARCH_MXC_IOMUX_V3 select COMMON_CLK select HAVE_EPIT
Sascha Hauer
maintainerPATCH 1/1 ARM: imx: fix i.MX35 CPU architecture
Quoted 4 lines · Beno?t Th?baudeau
The data sheet of the i.MX35 says it is an ARM1136JF-S processor, version r1p3, which, according to section "B.1. New instructions" of the ARM1136JF-S and ARM1136J-S Technical Reference Manual, makes the i.MX35 CPU architecture not only ARMv6, but ARMv6k.
Is this true for i.MX31 aswell? If not, we would have to add additional magic to enable CPU_V6K only when SOC_IMX31 is not selected.
Sascha
Quoted 26 lines
Cc Sascha Hauer <[email protected]>Cc <[email protected]>Signed-off-by Beno?t Th?baudeau <[email protected]>--- .../arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/mach-imx/Kconfig +1
-1@@ -73,7 +73,7 @@ config SOC_IMX31 config SOC_IMX35 bool - select CPU_V6 + select CPU_V6K select ARCH_MXC_IOMUX_V3 select COMMON_CLK select HAVE_EPIT_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
PATCH 1/1 ARM: imx: fix i.MX35 CPU architecture
Quoted 10 lines · Sascha Hauer
Quoted 7 lines · Beno?t Th?baudeau
The data sheet of the i.MX35 says it is an ARM1136JF-S processor, version r1p3,
which, according to section "B.1. New instructions" of the ARM1136JF-S and
ARM1136J-S Technical Reference Manual, makes the i.MX35 CPU architecture not
only ARMv6, but ARMv6k.Is this true for i.MX31 aswell?
No.
Quoted 3 lines
If not, we would have to add
additional
magic to enableCPU_V6Konly whenSOC_IMX31is not selected.
Why? That could be "select CPU_V6K if !SOC_IMX31", but e.g. CPU_V7 is selected by SOC_IMX5 whether or not SOC_IMX31 or SOC_IMX35 is selected, and CPU_V6/6K/7 conflicts are handled with priorities by the ARM infrastructure.
Regards,
Beno?t
Sascha Hauer
maintainerPATCH 1/1 ARM: imx: fix i.MX35 CPU architecture
Quoted 14 lines · Beno?t Th?baudeau
Quoted 10 lines · Sascha Hauer
Quoted 7 lines · Beno?t Th?baudeau
The data sheet of the i.MX35 says it is an ARM1136JF-S processor, version r1p3,
which, according to section "B.1. New instructions" of the ARM1136JF-S and
ARM1136J-S Technical Reference Manual, makes the i.MX35 CPU architecture not
only ARMv6, but ARMv6k.Is this true for i.MX31 aswell?
No.
Quoted 7 lines
Quoted 3 lines
If not, we would have to add
additional
magic to enableCPU_V6Konly whenSOC_IMX31is not selected.Why? That could be "select
CPU_V6Kif !SOC_IMX31", but e.g.CPU_V7is selected bySOC_IMX5whether or notSOC_IMX31orSOC_IMX35is selected, and CPU_V6/6K/7 conflicts are handled with priorities by the ARM infrastructure.
A boot test on i.MX31 shows that you are probably right. I remember a time when enabling CPU_V6K caused trouble, but it seems this has been sorted out.
So, applied this one.
Sascha
Signature · 4 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |