nixos-hardware/raspberry-pi/4
Ivan Petkov 320866b985
raspberry-pi/4/dtmerge: fix application of overlays
Previously whenever an overlay was found to be incompatible with a base
device tree blob, the entire base dtb would be skipped in favor of
processing the next one. This had the unfortunate effect where overlays
would not fully be applied if any incompatibility was found. For
example, this is an issue with build device trees specific for one
flavor of raspberry pi if the overlay was not compatible _everywhere_.

The solution is to forego the `continue` keyword if an overlay is in
compatible and instead use a compound conditional statement to skip
incompatible overlays but continue trying to apply it to any remaining
dtbs.
2023-01-16 19:57:10 -08:00
..
apply-overlays-dtmerge.nix raspberry-pi/4/dtmerge: fix application of overlays 2023-01-16 19:57:10 -08:00
audio.nix raspberry-pi/4: fix usage of mkDefault in audio module 2021-08-23 19:50:37 +02:00
cpu-revision.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
default.nix raspberry-pi/4: add pcie_brcmstb and reset-raspberrypi to kernelParams 2022-10-27 03:24:07 +01:00
dwc2.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
i2c.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
modesetting.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
pkgs-overlays.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
poe-hat.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
poe-plus-hat.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
pwm0.nix treewide: apply deadnix and statix 2022-12-31 11:57:44 +01:00
tc358743.nix raspberry-pi/4: Add tc358743 option 2021-05-30 20:27:13 +00:00