sandbox: physmem: Use mapping to support sandbox
authorSimon Glass <sjg@chromium.org>
Sat, 24 Nov 2018 04:29:26 +0000 (21:29 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Dec 2018 13:01:34 +0000 (06:01 -0700)
commite3491fb11f54e642925f587ed2dd6c98aea9c65d
tree00644dfbe8462f3878b9c26b9212bfc86d6b6835
parent12efc933b9e69f7340703655d84b9b610fa42fd4
sandbox: physmem: Use mapping to support sandbox

Replace the raw cast with a map_sysmem() call so this code works with
sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/physmem.c