Commit 6c58a030f86829fa4f0d4337cf4b794c41a1823e
1 parent
d6e9ee92e8
Exists in
master
and in
54 other branches
serial: move CFG_SCIF_CONSOLE to CONFIG_SCIF_CONSOLE
move also conditional compilation to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Showing 10 changed files with 9 additions and 13 deletions Side-by-side Diff
drivers/serial/Makefile
drivers/serial/serial_sh.c
... | ... | @@ -20,8 +20,6 @@ |
20 | 20 | #include <common.h> |
21 | 21 | #include <asm/processor.h> |
22 | 22 | |
23 | -#ifdef CFG_SCIF_CONSOLE | |
24 | - | |
25 | 23 | #if defined (CONFIG_CONS_SCIF0) |
26 | 24 | #define SCIF_BASE SCIF0_BASE |
27 | 25 | #elif defined (CONFIG_CONS_SCIF1) |
... | ... | @@ -215,6 +213,4 @@ |
215 | 213 | |
216 | 214 | return ch; |
217 | 215 | } |
218 | - | |
219 | -#endif /* CFG_SCIF_CONSOLE */ |
include/configs/MigoR.h
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 | #define CFG_BAUDRATE_TABLE { 115200 } /* List of legal baudrate settings for this board */ |
68 | 68 | |
69 | 69 | /* SCIF */ |
70 | -#define CFG_SCIF_CONSOLE 1 | |
70 | +#define CONFIG_SCIF_CONSOLE 1 | |
71 | 71 | #define CONFIG_CONS_SCIF0 1 |
72 | 72 | #undef CFG_CONSOLE_INFO_QUIET /* Suppress display of console |
73 | 73 | information at boot */ |
include/configs/mpr2.h
include/configs/ms7720se.h
include/configs/ms7722se.h
... | ... | @@ -62,7 +62,7 @@ |
62 | 62 | #define CFG_BAUDRATE_TABLE { 115200 } /* List of legal baudrate settings for this board */ |
63 | 63 | |
64 | 64 | /* SCIF */ |
65 | -#define CFG_SCIF_CONSOLE 1 | |
65 | +#define CONFIG_SCIF_CONSOLE 1 | |
66 | 66 | #define CONFIG_CONS_SCIF0 1 |
67 | 67 | #undef CFG_CONSOLE_INFO_QUIET /* Suppress display of console information at boot */ |
68 | 68 | #undef CFG_CONSOLE_OVERWRITE_ROUTINE |
include/configs/ms7750se.h
include/configs/r2dplus.h
include/configs/r7780mp.h