This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

redboot: move platform info


Hi

It seemed for me that was discussed enough.

Sergei
Index: current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/ChangeLog,v
retrieving revision 1.266
diff -U5 -r1.266 ChangeLog
--- current/ChangeLog	20 Feb 2009 22:27:58 -0000	1.266
+++ current/ChangeLog	21 Feb 2009 08:02:30 -0000
@@ -1,5 +1,9 @@
+2009-02-21  Sergei Gavrikov  <sergei.gavrikov@gmail.com>
+
+	* src/main.c: Move platform info behind GPL banner.
+
 2009-02-20  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* src/flash.c (do_flash_init): Call cyg_flash_init() with
 	NULL argument.
 
Index: current/src/main.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/redboot/current/src/main.c,v
retrieving revision 1.71
diff -U5 -r1.71 main.c
--- current/src/main.c	19 Feb 2009 11:44:47 -0000	1.71
+++ current/src/main.c	21 Feb 2009 08:02:31 -0000
@@ -171,23 +171,23 @@
     externC void _flash_info(void);
 #endif
     char *version = CYGACC_CALL_IF_MONITOR_VERSION();
 
     diag_printf(version);
-#ifdef HAL_PLATFORM_CPU
-    diag_printf("Platform: %s (%s) %s\n", HAL_PLATFORM_BOARD, HAL_PLATFORM_CPU, HAL_PLATFORM_EXTRA);
-#endif
     diag_printf("Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009\nFree Software Foundation, Inc.\n");
     /* The following line fulfils requirement 2(c) of the GPL. If you modify it, ensure
      * you remain compliant with the GPL requirements. Removing it entirely constitutes
      * a breach of the GPL, and you should note section 4 of the GPL as to what that means!
      */
     diag_printf("RedBoot is free software, covered by the eCos license, derived from the\n"
                 "GNU General Public License. You are welcome to change it and/or distribute\n"
                 "copies of it under certain conditions. Under the license terms, RedBoot's\n"
                 "source code and full license terms must have been made available to you.\n"
                 "Redboot comes with ABSOLUTELY NO WARRANTY.\n\n");
+#ifdef HAL_PLATFORM_CPU
+    diag_printf("Platform: %s (%s) %s\n", HAL_PLATFORM_BOARD, HAL_PLATFORM_CPU, HAL_PLATFORM_EXTRA);
+#endif
     diag_printf("RAM: %p-%p, ", (void*)ram_start, (void*)ram_end);
     diag_printf("[%p-%p]", mem_segments[0].start, mem_segments[0].end);
     diag_printf(" available\n");
 #if CYGBLD_REDBOOT_MAX_MEM_SEGMENTS > 1
     for (seg = 1;  seg < CYGBLD_REDBOOT_MAX_MEM_SEGMENTS;  seg++) {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]