Skip to content
Commit 62cbde4c authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

serial: ns16550: Support run-time configuration



At present this driver uses an assortment of CONFIG options to control
how it accesses the hardware. This is painful for platforms that are
supposed to be controlled by a device tree or a previous-stage bootloader.

Add a new CONFIG option to enable fully dynamic configuration. This
controls register spacing, size, offset and endianness.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarAiden Park <aiden.park@intel.com>
Tested-by: default avatarAiden Park <aiden.park@intel.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
[bmeng: squashed in http://patchwork.ozlabs.org/patch/1232929/

]
Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent 31a790be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment