Skip to content

Commit ccf747c

Browse files
committed
overlaycheck: Don't try applying vl805 to cm4s
The Compute Module 4S does not expose or otherwise use the PCIe bus. It is therfore not reasonable to use the vl805 overlay, so exclude that combination from the "try all" (-t) mode. With that done, overlaycheck -t passes on top-of-tree. Signed-off-by: Phil Elwell <[email protected]>
1 parent 9c3dd00 commit ccf747c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

overlaycheck/overlaycheck

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ if ($try_all)
354354
{
355355
next if (!-f "$TMPDIR/$base.dtb");
356356
next if (($overlay =~ /(wifi|bt)/) && ($base !~ /^(bcm2708-rpi-zero-w|bcm2709-rpi-zero-2|bcm2710-rpi-3-|bcm2711-rpi-(4|cm4$)|bcm2712-rpi-(5|cm5))/));
357+
next if ($overlay eq 'vl805' && $base eq 'bcm2711-rpi-cm4s');
357358
next if ($overlay_props->{'bcm2711'} && $base !~ /^bcm2711/);
358359
next if ($overlay_props->{'bcm2712'} && $base !~ /^bcm2712/);
359360
next if (system("$DTMERGE $TMPDIR/$base.dtb $MERGED_DTB $TMPDIR/$overlay.dtbo >/dev/null 2>&1") == ((-2 & 0xff) << 8));

0 commit comments

Comments
 (0)