@@ -653,7 +653,15 @@ BBIO_err load_device_tree(const char *name)
653653 return BBIO_OK ;
654654 }
655655
656+ /* beaglebone blue has complete dtb file and does not need overlays */
657+ if (beaglebone_blue ()) {
658+ fprintf (stderr , "common.c: load_device_tree(): beaglebone_blue(): TRUE\n" );
659+ return BBIO_OK ;
660+ }
661+
662+ /* pocketbeagle has complete dtb file and does not need overlays */
656663 if (pocketbeagle ()) {
664+ fprintf (stderr , "common.c: load_device_tree(): pocketbeagle(): TRUE\n" );
657665 return BBIO_OK ;
658666 }
659667
@@ -707,7 +715,15 @@ int device_tree_loaded(const char *name)
707715 return 1 ;
708716 }
709717
718+ /* beaglebone blue has complete dtb file and does not need overlays */
719+ if (beaglebone_blue ()) {
720+ fprintf (stderr , "common.c: load_device_tree(): beaglebone_blue(): TRUE\n" );
721+ return BBIO_OK ;
722+ }
723+
724+ /* pocketbeagle has complete dtb file and does not need overlays */
710725 if (pocketbeagle ()) {
726+ fprintf (stderr , "common.c: load_device_tree(): pocketbeagle(): TRUE\n" );
711727 return BBIO_OK ;
712728 }
713729
@@ -749,6 +765,18 @@ BBIO_err unload_device_tree(const char *name)
749765 char line [256 ];
750766 char * slot_line ;
751767
768+ /* beaglebone blue has complete dtb file and does not need overlays */
769+ if (beaglebone_blue ()) {
770+ fprintf (stderr , "common.c: load_device_tree(): beaglebone_blue(): TRUE\n" );
771+ return BBIO_OK ;
772+ }
773+
774+ /* pocketbeagle has complete dtb file and does not need overlays */
775+ if (pocketbeagle ()) {
776+ fprintf (stderr , "common.c: load_device_tree(): pocketbeagle(): TRUE\n" );
777+ return BBIO_OK ;
778+ }
779+
752780 snprintf (slots , sizeof (slots ), "%s/slots" , ctrl_dir );
753781 file = fopen (slots , "r+" );
754782 if (!file ) {
0 commit comments