[U-Boot] [PATCH v10 12/16] regmap: Add endianness support

Simon Glass sjg at chromium.org
Fri Oct 12 00:00:07 UTC 2018


On 4 October 2018 at 01:00, Mario Six <mario.six at gdsys.cc> wrote:
> Add support for switching the endianness of regmap accesses via the
> "little-endian", "big-endian", and "native-endian" boolean properties in
> the device tree.
>
> The default endianness is native endianness.
>
> Signed-off-by: Mario Six <mario.six at gdsys.cc>
>
> ---
>
> v9 -> v10:
> * Switched to readb/writeb for 8-bit reads/writes
>
> v8 -> v9:
> New in v9
>
> ---
>  drivers/core/regmap.c | 130 ++++++++++++++++++++++++++++++++++++++++++++++----
>  include/regmap.h      |  14 ++++++
>  2 files changed, 136 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list