diff options
author | Paul Burton <paul.burton@imgtec.com> | 2016-09-08 07:47:35 +0100 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2016-09-21 15:04:32 +0200 |
commit | 3bfb8cb43b16aeac138dbdbc1311cd718bbc4066 (patch) | |
tree | e8aa1bc25bce0b74c92ed45b265db51fbfe852d7 /tools/rksd.c | |
parent | 96cb57c5ea1905c05435b42ac378938971b83766 (diff) | |
download | u-boot-imx-3bfb8cb43b16aeac138dbdbc1311cd718bbc4066.zip u-boot-imx-3bfb8cb43b16aeac138dbdbc1311cd718bbc4066.tar.gz u-boot-imx-3bfb8cb43b16aeac138dbdbc1311cd718bbc4066.tar.bz2 |
dm: regmap: Implement simple regmap_read & regmap_write
The regmap_read & regmap_write functions were previously declared in
regmap.h but not implemented anywhere. The regmap implementation &
commit message of 6f98b7504f70 ("dm: Add support for register maps
(regmap)") indicate that only memory mapped accesses are supported for
now, so providing simple implementations of regmap_read & regmap_write
is trivial. The access size is presumed to be 4 bytes & endianness is
presumed native, which are the defaults for the regmap code in Linux.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/rksd.c')
0 files changed, 0 insertions, 0 deletions