test: regmap: check the values read from the regmap
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 11 Oct 2019 22:16:50 +0000 (16:16 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 27 Oct 2019 16:56:41 +0000 (10:56 -0600)
commit2333dc47b891d169f97b57b0f687a5843acc7d8c
tree62d37445b609a8eb65fa6bd136508bd7be9f6f66
parent5ca5ec1e3272f40a7ad26a15e3df3bb18e0b11d8
test: regmap: check the values read from the regmap

The test did reads after writes but didn't check the value.
It probably was because the sandbox didn't implement the writeX/readX
functions.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Updated to use sandbox_set_enable_memio():
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
test/dm/regmap.c