@@ -653,7 +653,15 @@ BBIO_err load_device_tree(const char *name)
653
653
return BBIO_OK ;
654
654
}
655
655
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 */
656
663
if (pocketbeagle ()) {
664
+ fprintf (stderr , "common.c: load_device_tree(): pocketbeagle(): TRUE\n" );
657
665
return BBIO_OK ;
658
666
}
659
667
@@ -707,7 +715,15 @@ int device_tree_loaded(const char *name)
707
715
return 1 ;
708
716
}
709
717
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 */
710
725
if (pocketbeagle ()) {
726
+ fprintf (stderr , "common.c: load_device_tree(): pocketbeagle(): TRUE\n" );
711
727
return BBIO_OK ;
712
728
}
713
729
@@ -749,6 +765,18 @@ BBIO_err unload_device_tree(const char *name)
749
765
char line [256 ];
750
766
char * slot_line ;
751
767
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
+
752
780
snprintf (slots , sizeof (slots ), "%s/slots" , ctrl_dir );
753
781
file = fopen (slots , "r+" );
754
782
if (!file ) {
0 commit comments