[rtems commit] bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader
Chris Johns
chrisj at rtems.org
Wed Feb 10 06:35:57 UTC 2021
Module: rtems
Branch: 5
Commit: 388bd8054c6f9148d709fee4d4deaca06f378886
Changeset: http://git.rtems.org/rtems/commit/?id=388bd8054c6f9148d709fee4d4deaca06f378886
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
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 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