summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-19 21:48:04 +0800
committerTom Rini <trini@konsulko.com>2015-11-20 20:41:29 -0500
commit77d7b5cd40c41c6502c5e6256c7a47bd1d7c3388 (patch)
tree12802ed8f7da6ef761dc7c2044de15aeac754089 /configs
parentb1e361b6055246da496886e8ee7e0add94635f39 (diff)
downloadu-boot-imx-77d7b5cd40c41c6502c5e6256c7a47bd1d7c3388.zip
u-boot-imx-77d7b5cd40c41c6502c5e6256c7a47bd1d7c3388.tar.gz
u-boot-imx-77d7b5cd40c41c6502c5e6256c7a47bd1d7c3388.tar.bz2
ns16550: change map_sysmem to map_physmem
Change map_sysmem() to map_physmem(,,MAP_NOCACHE). Though map_sysmem() can be used to map system memory, it might be wrong to use it for I/O ports. The map_physmem() serves the same purpose to translate physical address to virtual address with the additional flag to take care of cache property. Most drivers use map_physmem() since I/O ports access should be uncached. As ns16550 is a driver, it should use map_physmem() rather than map_sysmem(). Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions