Skip to content
Snippets Groups Projects
Commit 09bd0840 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

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: 9e6ce621 ("serial: ns16550: Fix ordering of getting base address")
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent ced4c31e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment