Gedare Bloom commented on a discussion: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1057#note_142530


I would not do these checks on every call. Since this basically boils down to 
calling `fdt_check_header()` I would add something to call `bsp_fdt_get()` and 
then `fdt_check_header()` during boot, probably as an `RTEMS_SYSINIT_ITEM`. 
This seems to be something that would be shared across architectures and should 
be done in a generic way, rather than in a BSP-specific way, since other 
architectures also use FDT.

I think this is also already done in `rtems_ofw_init`.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1057#note_142530
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to