commit | 01b792b0f7723c27759410400f82db00a135bfad | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Feb 03 21:22:40 2021 +0800 |
committer | Simon Glass <sjg@chromium.org> | Wed Mar 03 19:17:25 2021 -0700 |
tree | d96beb59fbb5e659ae33439e89eab2ac76db7d52 | |
parent | 85f737be02f95528e94ce2e477d6524d3962f3c3 [diff] |
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>