]> git.dujemihanovic.xyz Git - u-boot.git/commit
regmap: Add endianness support
authorMario Six <mario.six@gdsys.cc>
Mon, 15 Oct 2018 07:24:14 +0000 (09:24 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 14 Nov 2018 17:16:27 +0000 (09:16 -0800)
commit9b77fe3b80b038af7114f7dae4934773bb026f8e
tree81d0fa83f731c7e56df5b93955e58a1bb0d7592f
parent45ef7f55c79f67be8bf0b4e6de549269c1fd4971
regmap: Add endianness support

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@gdsys.cc>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/core/regmap.c
include/regmap.h