Revision | c0d4bb945cfbcc3731661b02f7caf6b18f060c2e (tree) |
---|---|
Time | 2020-06-03 18:59:50 |
Author | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
fix build error
@@ -482,7 +482,7 @@ int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) | ||
482 | 482 | return 0; |
483 | 483 | } |
484 | 484 | #elif defined(CONFIG_RX) |
485 | -int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) | |
485 | +int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]) | |
486 | 486 | { |
487 | 487 | bd_t *bd = gd->bd; |
488 | 488 |
@@ -107,7 +107,7 @@ struct uart_port { | ||
107 | 107 | # define SCSPTR5 0x00088268 /* 8 bit SCI */ |
108 | 108 | # define SCSPTR6 0x00088270 /* 8 bit SCI */ |
109 | 109 | # define SCSCR_INIT(port) 0x38 /* TIE=0,RIE=0,TE=1,RE=1,REIE=1 */ |
110 | -#elif defined(CONFIG_RXV2) | |
110 | +#elif defined(CONFIG_RX) && !defined(CONFIG_SCI) | |
111 | 111 | # define SCSCR_INIT(port) 0x30 /* TE=1,RE=1 */ |
112 | 112 | #else |
113 | 113 | # error CPU subtype not defined |