serial: sh: Add SCIFA0 address entry
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 12 Apr 2018 13:23:46 +0000 (15:23 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 13 Apr 2018 21:41:44 +0000 (23:41 +0200)
Add the SCIFA0 address entry so it can be used in TPL if needed
due to size restrictions.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/serial/serial_sh.c

index a17698f90ee89a3cbe39b3a2f1d6a70afdcbdd5f..5f4ace7848382af22a9914d312646a5a55bd8e12 100644 (file)
@@ -270,6 +270,8 @@ U_BOOT_DRIVER(serial_sh) = {
 # define SCIF_BASE     SCIF6_BASE
 #elif defined(CONFIG_CONS_SCIF7)
 # define SCIF_BASE     SCIF7_BASE
+#elif defined(CONFIG_CONS_SCIFA0)
+# define SCIF_BASE     SCIFA0_BASE
 #else
 # error "Default SCIF doesn't set....."
 #endif