Commit 9e23fe0560b84e324dc5f0ff8813dab2aa34f074
1 parent
873d97aabc
Exists in
master
and in
55 other branches
sh: Fix SH-boards compile error
By Cleanup out-or-tree building for some boards (.depend) (commit:c8a3b109f07f02342d097b30908965f7261d9f15) because filse ware changed, some SH-boards have compile error. I revised this problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Showing 14 changed files with 16 additions and 14 deletions Side-by-side Diff
MAKEALL
board/MigoR/Makefile
board/mpr2/Makefile
board/ms7720se/Makefile
board/ms7722se/Makefile
board/ms7750se/Makefile
board/r2dplus/Makefile
board/r7780mp/Makefile
board/sh7763rdp/Makefile
cpu/sh3/Makefile
cpu/sh4/Makefile
lib_sh/Makefile
lib_sh/board.c
... | ... | @@ -112,6 +112,7 @@ |
112 | 112 | return 0; |
113 | 113 | } |
114 | 114 | |
115 | +#if defined(CONFIG_CMD_NET) | |
115 | 116 | static int sh_net_init(void) |
116 | 117 | { |
117 | 118 | DECLARE_GLOBAL_DATA_PTR; |
... | ... | @@ -127,6 +128,7 @@ |
127 | 128 | |
128 | 129 | return 0; |
129 | 130 | } |
131 | +#endif | |
130 | 132 | |
131 | 133 | typedef int (init_fnc_t) (void); |
132 | 134 | |
133 | 135 | |
... | ... | @@ -170,8 +172,8 @@ |
170 | 172 | |
171 | 173 | bd_t *bd; |
172 | 174 | init_fnc_t **init_fnc_ptr; |
173 | - char *s; | |
174 | 175 | int i; |
176 | + char *s; | |
175 | 177 | |
176 | 178 | memset (gd, 0, CFG_GBL_DATA_SIZE); |
177 | 179 |