[RTEMS 5 PATCH] bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader
chrisj at rtems.org
chrisj at rtems.org
Sun Feb 7 22:38:12 UTC 2021
From: Chris Johns <chrisj at rtems.org>
Close #4234
---
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 587bcffcff..ff2e3ff590 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) {
--
2.24.1
More information about the devel
mailing list