]> git.sur5r.net Git - u-boot/commit
console: Use map_sysmem() for the pre-relocation console
authorSimon Glass <sjg@chromium.org>
Fri, 16 Jun 2017 03:37:52 +0000 (21:37 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 11 Jul 2017 16:08:19 +0000 (10:08 -0600)
commit4e6bafa56807b7ea4ebfb2eebbcf2eae674866e0
tree1f65834bb42f86f5b53738f512ca3af850bcc060
parente5a9d27fdbcf59760a7ff69597584229e24ca456
console: Use map_sysmem() for the pre-relocation console

At present this feature casts the address to a pointer. Use the
map_sysmem() function so that it will work correctly on sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
common/console.c