dm: core: implement dev_map_physmem()
authorVignesh R <vigneshr@ti.com>
Wed, 6 Jul 2016 04:28:55 +0000 (09:58 +0530)
committerJagan Teki <jteki@openedev.com>
Sat, 9 Jul 2016 14:46:08 +0000 (20:16 +0530)
commit7c616862553e37c89ea5db399961018a7367ca33
tree9a1a71c35a2e8abc20d882fd0b6358140f32bb2a
parentc8864d720926c6b136aa9aa97fd1d4410250d271
dm: core: implement dev_map_physmem()

This API helps to map physical register addresss pace of device to
virtual address space easily. Its just a wrapper around map_physmem()
with MAP_NOCACHE flag.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Suggested-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/core/device.c
include/dm/device.h