diff mbox

[08/20] highbank: enable big-endian

Message ID 1377889856-9447-9-git-send-email-ben.dooks@codethink.co.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Ben Dooks Aug. 30, 2013, 7:10 p.m. UTC
Apart from a xgmac driver issue, the highbank seems to work correctly in
big-endian mode. Allow the selection of big-endian in the system.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
 arch/arm/mach-highbank/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

Comments

Rob Herring Aug. 30, 2013, 9:40 p.m. UTC | #1
On Fri, Aug 30, 2013 at 2:10 PM, Ben Dooks <ben.dooks@codethink.co.uk> wrote:
> Apart from a xgmac driver issue, the highbank seems to work correctly in
> big-endian mode. Allow the selection of big-endian in the system.
>
> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

Acked-by: Rob Herring <rob.herring@calxeda.com>

Rob
Sergei Shtylyov Aug. 31, 2013, 8:17 p.m. UTC | #2
Hello.

On 08/30/2013 11:10 PM, Ben Dooks wrote:

> Apart from a xgmac driver issue, the highbank seems to work correctly in
> big-endian mode. Allow the selection of big-endian in the system.

> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
> ---
>   arch/arm/mach-highbank/Kconfig |    2 ++
>   1 file changed, 2 insertions(+)

> diff --git a/arch/arm/mach-highbank/Kconfig b/arch/arm/mach-highbank/Kconfig
> index cd9fcb1..f82bd88 100644
> --- a/arch/arm/mach-highbank/Kconfig
> +++ b/arch/arm/mach-highbank/Kconfig
[...]
> @@ -18,3 +19,4 @@ config ARCH_HIGHBANK
>   	select PL320_MBOX
>   	select SPARSE_IRQ
>   	select USE_OF
> +

    I don't think you really intended to add this line at end of file.

WBR, Sergei
diff mbox

Patch

diff --git a/arch/arm/mach-highbank/Kconfig b/arch/arm/mach-highbank/Kconfig
index cd9fcb1..f82bd88 100644
--- a/arch/arm/mach-highbank/Kconfig
+++ b/arch/arm/mach-highbank/Kconfig
@@ -2,6 +2,7 @@  config ARCH_HIGHBANK
 	bool "Calxeda ECX-1000/2000 (Highbank/Midway)" if ARCH_MULTI_V7
 	select ARCH_HAS_CPUFREQ
 	select ARCH_HAS_OPP
+	select ARCH_SUPPORTS_BIG_ENDIAN
 	select ARCH_WANT_OPTIONAL_GPIOLIB
 	select ARM_AMBA
 	select ARM_GIC
@@ -18,3 +19,4 @@  config ARCH_HIGHBANK
 	select PL320_MBOX
 	select SPARSE_IRQ
 	select USE_OF
+