summaryrefslogtreecommitdiff
path: root/drivers/serial/serial_sh.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2010-11-24 13:24:33 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2011-01-11 21:03:25 +0900
commit99057064b375a9ec6f328452ec5f8bc60bd0b118 (patch)
tree6770f603e38881f0dc1a8b433cb24270e0057fed /drivers/serial/serial_sh.h
parentefc0ba4395b1ce8341adbb302729b7a035663dd9 (diff)
downloadu-boot-imx-99057064b375a9ec6f328452ec5f8bc60bd0b118.zip
u-boot-imx-99057064b375a9ec6f328452ec5f8bc60bd0b118.tar.gz
u-boot-imx-99057064b375a9ec6f328452ec5f8bc60bd0b118.tar.bz2
sh: sh7722: Fix multiple definition of PSDR in serial_sh
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Diffstat (limited to 'drivers/serial/serial_sh.h')
-rw-r--r--drivers/serial/serial_sh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h
index df21b37..54e94e5 100644
--- a/drivers/serial/serial_sh.h
+++ b/drivers/serial/serial_sh.h
@@ -87,6 +87,7 @@ struct uart_port {
# define SCSCR_INIT(port) 0x32 /* TIE=0,RIE=0,TE=1,RE=1,REIE=0,CKE=1 */
#elif defined(CONFIG_CPU_SH7722)
# define PADR 0xA4050120
+# undef PSDR
# define PSDR 0xA405013e
# define PWDR 0xA4050166
# define PSCR 0xA405011E