[RTEMS 5 PATCH] bsp/motorola_powerp: Print RTEMS_VERSION from the bootloader

Joel Sherrill joel.sherrill at gmail.com
Sun Feb 7 22:48:42 UTC 2021


Do you want another ticket to apply this to 5 as well?

On Sun, Feb 7, 2021, 4:38 PM <chrisj at rtems.org> wrote:

> 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
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210207/b6e945a3/attachment.html>


More information about the devel mailing list