summaryrefslogtreecommitdiffstats
path: root/scripts/binutils-version.sh
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-11-19 21:48:05 +0800
committerTom Rini <trini@konsulko.com>2015-11-20 20:41:29 -0500
commit8e62d32e5ba2e79364f958079cf9f7e2e5a591a1 (patch)
tree46cd63365949847d686899234d21e8d01f664f19 /scripts/binutils-version.sh
parent77d7b5cd40c41c6502c5e6256c7a47bd1d7c3388 (diff)
downloadblackbird-obmc-uboot-8e62d32e5ba2e79364f958079cf9f7e2e5a591a1.tar.gz
blackbird-obmc-uboot-8e62d32e5ba2e79364f958079cf9f7e2e5a591a1.zip
ns16550: add generic binding to unify the drivers
Add generic binding to unify ns16550 drivers. There are several drivers using almost the same code, such as serial_dw, serial_keystone, serial_omap, serial_ppc, serial_rockchip, serial_tegra.c, and serial_x86. But each is platform specific. The key difference between these drivers is the way to get input clock frequency. With this unified approach, fixed clock frequency should be extracted from "clock-frequency" property of device tree blob. If this property is not available, the macro CONFIG_SYS_NS16550_CLK will be used. It can be a constant or a function to get clock, eg, get_serial_clock(). Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'scripts/binutils-version.sh')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud