Searched hist:"3 bfb8cb43b16aeac138dbdbc1311cd718bbc4066" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | regmap.c | 3bfb8cb43b16aeac138dbdbc1311cd718bbc4066 Thu Sep 08 06:47:35 UTC 2016 Paul Burton <paul.burton@imgtec.com> 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>
|