09.01.2015 18:27, Bob Mottram пишет: > Config changes to enable big-endian support. Tested on Jetson TK1. > > Signed-off-by: Bob Mottram <bob.mottram@xxxxxxxxxxxxxxx> > --- > arch/arm/mach-tegra/Kconfig | 1 + > arch/arm/mach-tegra/headsmp.S | 3 ++- > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig > index d0be9a1..d8cb963 100644 > --- a/arch/arm/mach-tegra/Kconfig > +++ b/arch/arm/mach-tegra/Kconfig > @@ -2,6 +2,7 @@ menuconfig ARCH_TEGRA > bool "NVIDIA Tegra" if ARCH_MULTI_V7 > select ARCH_REQUIRE_GPIOLIB > select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS > + select ARCH_SUPPORTS_BIG_ENDIAN > select ARM_AMBA > select ARM_GIC > select CLKSRC_MMIO > diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S > index 2072e73..9896981 100644 > --- a/arch/arm/mach-tegra/headsmp.S > +++ b/arch/arm/mach-tegra/headsmp.S > @@ -1,11 +1,12 @@ > #include <linux/linkage.h> > #include <linux/init.h> > - > +#include <asm/assembler.h> > #include "sleep.h" > > .section ".text.head", "ax" > > ENTRY(tegra_secondary_startup) > + ARM_BE8(setend be) > check_cpu_part_num 0xc09, r8, r9 > bleq v7_invalidate_l1 > b secondary_startup > -- > 2.1.0 > -- > To unsubscribe from this list: send the line "unsubscribe linux-tegra" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > Hi, Bob. What about suspend/cpuidle? Won't it make sense to set BE mode in reset handler? -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html