summaryrefslogtreecommitdiff
path: root/include/configs/lsxl.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-01-16 15:03:52 +0800
committerThomas Chou <thomas@wytron.com.tw>2014-02-11 15:49:19 +0800
commit2d61e1bed2205b5ebce6b732693c30d01590f9fc (patch)
tree6a79754aff7dc064a1857a80b1b4b78728dcd873 /include/configs/lsxl.h
parent18a6bcc139548f8018494ff60519948fa53e2141 (diff)
downloadu-boot-imx-2d61e1bed2205b5ebce6b732693c30d01590f9fc.zip
u-boot-imx-2d61e1bed2205b5ebce6b732693c30d01590f9fc.tar.gz
u-boot-imx-2d61e1bed2205b5ebce6b732693c30d01590f9fc.tar.bz2
serial: opencores_yanu: Avoid duplicate oc_serial_setbrg() implementation
The implementation of oc_serial_setbrg() for CONFIG_SYS_NIOS_FIXEDBAUD and !CONFIG_SYS_NIOS_FIXEDBAUD are very similar. Add a baudrate variable and set it to either CONFIG_BAUDRATE or gd->baudrate. Then we can unify the code for both cases. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include/configs/lsxl.h')
0 files changed, 0 insertions, 0 deletions