[Top] [All Lists]

Re: what is the purpose of the following LE->BE patch to arch/mips/inclu

To: "Robert P. J. Day" <>
Subject: Re: what is the purpose of the following LE->BE patch to arch/mips/include/asm/io.h?
From: Manuel Lauss <>
Date: Sat, 21 Feb 2015 09:23:39 +0100
Cc: Matt Turner <>, "" <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nY6npJhfNKnNQe0SMlZHfRUV9wpXOyxGg370MyQ1H8I=; b=OV5+mjZsTziZEkmJ1fGpz6YYd4pFVv//mEYP1KPAMPS7e4xMjSFkGm6GzzCIIw1PnS Ya7SSVWu0eLjLMl8uFkO6HvUQKzWZLpCKmblApMv5p9jW3Amhc1ioZndFsf/Hgzx6jbA 06oSSdXtYxQVEX6SPudq2RUOKXu3ZCzlJ0nWGAneyzg0F0ydKUZrHlwtXlUOjr+EULI0 smITBLhmyGjB4yoqh4ppIVMyiZgp7ctaez3yACg8oMvv6ruRhCAKv2VJc5/BhPz7or5u TH7TLRc4dZNTE3NASAEt/6vg5NB7YjeSjagOw58+nVdn6gbVE9TecGkWY0CqXtefGDlX T/Wg==
In-reply-to: <alpine.LFD.2.11.1502210258580.5732@localhost>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <alpine.LFD.2.11.1502200445290.26212@localhost> <> <> <alpine.LFD.2.11.1502210258580.5732@localhost>
On Sat, Feb 21, 2015 at 9:11 AM, Robert P. J. Day <> wrote:
>   has anyone else ever needed to do this? or is this some weird,
> one-off hack that perhaps applies *only* to some bizarre feature of
> this board?

My guess isthat the peripherals attached to the internal bus
only undestand little endian, and the bus doesn't do byte swaps when
the core isn't configured for LE. I.e. the BE feature is only
implemented in the mips core and the rest was designed for LE only.


<Prev in Thread] Current Thread [Next in Thread>