diff options
author | Tom Rini <trini@ti.com> | 2013-10-22 08:37:46 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-10-22 08:37:46 -0400 |
commit | 55aea84b1db277bd86edadb37d11b78d36db7608 (patch) | |
tree | 6d3d0ce8cb6b3afe9b5f6151c0236ec9503ad218 /drivers/serial/serial_sh.c | |
parent | 748bde608a8dfea5b64e186af4d9c27642fe7813 (diff) | |
parent | 7f2013d47c8c62c2373cafe68d6ba4649099e49a (diff) | |
download | u-boot-imx-55aea84b1db277bd86edadb37d11b78d36db7608.zip u-boot-imx-55aea84b1db277bd86edadb37d11b78d36db7608.tar.gz u-boot-imx-55aea84b1db277bd86edadb37d11b78d36db7608.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-sh
Diffstat (limited to 'drivers/serial/serial_sh.c')
-rw-r--r-- | drivers/serial/serial_sh.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c index ff2cdc5..0826d59 100644 --- a/drivers/serial/serial_sh.c +++ b/drivers/serial/serial_sh.c @@ -1,5 +1,6 @@ /* * SuperH SCIF device driver. + * Copyright (C) 2013 Renesas Electronics Corporation * Copyright (C) 2007,2008,2010 Nobuhiro Iwamatsu * Copyright (C) 2002 - 2008 Paul Mundt * @@ -48,7 +49,9 @@ static struct uart_port sh_sci = { static void sh_serial_setbrg(void) { DECLARE_GLOBAL_DATA_PTR; - sci_out(&sh_sci, SCBRR, SCBRR_VALUE(gd->baudrate, CONFIG_SYS_CLK_FREQ)); + + sci_out(&sh_sci, SCBRR, + SCBRR_VALUE(gd->baudrate, CONFIG_SH_SCIF_CLK_FREQ)); } static int sh_serial_init(void) |