RTEMS | shared/u-boot: Cleanup unused function (!1359)

Vijay Banerjee (@vijay) gitlab at rtems.org
Mon Jul 20 15:44:01 UTC 2026



Vijay Banerjee created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1359

Project:Branches: vijay/rtems:uboot_undef_issue to rtems/rtos/rtems:main
Author:   Vijay Banerjee



## Summary

shared/u-boot: Cleanup unused function

This commit adds 'HAS_UBOOT' conditional to 'bsp_uboot_getenv' to match
the bsp.h file.

This fixes the following errors:
     error: home/tester/bsps/powerpc/shared/u-boot/uboot_getenv.c:73:13:
            error: no previous prototype for 'bsp_uboot_getenv'
            [-Werror=missing-prototypes]

Updates #5481


## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1359
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-76ddidl5k5y4izeergpu1f29v-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260720/50487f25/attachment.htm>


More information about the bugs mailing list