]> git.baikalelectronics.ru Git - uboot.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)
commit672a96bf4251ad613815299d3988ec934c1f32b6
tree81d0fa83f731c7e56df5b93955e58a1bb0d7592f
parent0b9c661c45545765bd394d078501390d9d5b93a8
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