diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-02-03 21:22:40 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-03-03 19:17:25 -0700 |
commit | 09bd08401a5ff2cdbf40fdc27a8add809ae11075 (patch) | |
tree | d96beb59fbb5e659ae33439e89eab2ac76db7d52 /drivers/ddr/marvell/a38x/ddr3_debug.c | |
parent | ced4c31e93d905694553fd1df7aeb4e7d7ef6112 (diff) | |
download | u-boot-09bd08401a5ff2cdbf40fdc27a8add809ae11075.tar.gz u-boot-09bd08401a5ff2cdbf40fdc27a8add809ae11075.tar.xz u-boot-09bd08401a5ff2cdbf40fdc27a8add809ae11075.zip |
serial: ns16550: Correct the base address type
Currently ns16550_serial_assign_base() treats the argument 'base'
with type `ulong`. This is incorrect because the base address was
obtained from device tree with type `fdt_addr_t` that can represent
a physical address larger than 32-bit in a 32-bit system.
Fixes: 9e6ce62190b7 ("serial: ns16550: Fix ordering of getting base address")
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/ddr/marvell/a38x/ddr3_debug.c')
0 files changed, 0 insertions, 0 deletions