Gedare Bloom started a new discussion on bsps/shared/start/bsp-fdt.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1057#note_142345 > #ifdef BSP_DTB_IS_SUPPORTED > - return system_dtb; > + bsp_fdt = system_dtb; > #else > - return &bsp_fdt_blob[0]; > + bsp_fdt = &bsp_fdt_blob[0]; > #endif > + > +if (bsp_fdt == NULL) { > + rtems_fatal(RTEMS_FATAL_SOURCE_BSP, 0); > +} > + > +if (((uintptr_t)bsp_fdt & 0x7) != 0) { > + rtems_fatal(RTEMS_FATAL_SOURCE_BSP, FDT_ERR_ALIGNMENT); > +} > +int err = fdt_check_header(bsp_fdt); declare all variables at the start of the block -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1057#note_142345 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
