[rtems commit] bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader

Chris Johns chrisj at rtems.org
Sun Feb 7 23:26:12 UTC 2021


Module:    rtems
Branch:    master
Commit:    ee14fdfe19fe02db8a5ae053d68e9ee1871f1ce0
Changeset: http://git.rtems.org/rtems/commit/?id=ee14fdfe19fe02db8a5ae053d68e9ee1871f1ce0

Author:    Chris Johns <chrisj at rtems.org>
Date:      Tue Oct 13 20:14:21 2020 -1000

bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader

---

 bsps/powerpc/motorola_powerpc/bootloader/misc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bsps/powerpc/motorola_powerpc/bootloader/misc.c b/bsps/powerpc/motorola_powerpc/bootloader/misc.c
index 587bcff..ff2e3ff 100644
--- a/bsps/powerpc/motorola_powerpc/bootloader/misc.c
+++ b/bsps/powerpc/motorola_powerpc/bootloader/misc.c
@@ -23,6 +23,8 @@
 #include <rtems/bspIo.h>
 #include <bsp.h>
 
+#include <rtems.h>
+
 /* to align the pointer to the (next) page boundary */
 #define PAGE_ALIGN(addr)	(((addr) + PAGE_MASK) & ~PAGE_MASK)
 
@@ -401,7 +403,7 @@ setup_hw(void)
 	}
 #endif
 
-	printk("\nRTEMS 4.x/PPC load: ");
+	printk("\nRTEMS " RTEMS_VERSION "/PPC load: ");
 	timer = 0;
 	cp = bd->cmd_line+strlen(bd->cmd_line);
 	while (timer++ < 5*1000) {



More information about the vc mailing list