[PATCH 07/15] tools/cpu/sh/sci.c: Add include of bsp.h to generated file

Joel Sherrill joel.sherrill at oarcorp.com
Mon Mar 9 17:38:47 UTC 2015


---
 tools/cpu/sh/sci.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/cpu/sh/sci.c b/tools/cpu/sh/sci.c
index bc7fdd8..a092bce 100644
--- a/tools/cpu/sh/sci.c
+++ b/tools/cpu/sh/sci.c
@@ -117,6 +117,7 @@ int shgen_gensci(
     " *   Hitachi's HW manual recommends bitrates with an error less than 1%%\n"
     " *   We experienced values less than 2%% to be stable\n"
     " */\n\n" );
+  fprintf( file, "#include <bsp.h>\n" );
   fprintf( file, "#include <termios.h>\n\n" );
   fprintf( file,
     "static struct sci_bitrate_t {\n"
-- 
1.9.3




More information about the devel mailing list