RTEMS | powerpc/motorola_powerpc: Convert PPCBug NVRAM variables into env variables (!1322)

Chris Johns (@chris) gitlab at rtems.org
Wed Jun 24 05:35:11 UTC 2026




Chris Johns commented on a discussion on bsps/powerpc/motorola_powerpc/start/bspstart.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1322#note_153149

 >    ShowBATS();
 >  #endif
 >  
 > +  uintptr_t nvram_base;
 > +  bool nvram_indirect;
 > +  switch (myBoard) {
 > +    case MVME_2600_2700_W_MVME761:

I am wanting to remove these macros if possible. The drivers have removed specific dependencies on those macros as EPICS had and that is a deliberate approach. EPICS uses them and these are not suppose to be used as indicators of functionality and are not an API. This code now clearly says on board X you use Y.

A switch like this means the code is always built and some BSPs are using runtime configuration to vary functionality based on specific hardware from a single binary image. This lowers the configuration control at the EPICS and system level as only one binary is managed.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1322#note_153149
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-4fxvyeovwx0x1a0u8cyywzjis-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/20260624/0b4bd3c4/attachment.htm>


More information about the bugs mailing list