linux-rpi: use bcm2709 on arm32 rpi3

“bcmrpi3_defconfig” isn’t provided for arm32, so we need to use
bcm2709_config. When on arm64, we can still use bcmrpi3_defconfig
This commit is contained in:
Matthew Bauer 2020-05-12 12:45:35 -05:00
parent e15ab2cda7
commit c78ad0f7f8

View file

@ -18,7 +18,7 @@ lib.overrideDerivation (buildLinux (args // {
defconfig = {
"1" = "bcmrpi_defconfig";
"2" = "bcm2709_defconfig";
"3" = "bcmrpi3_defconfig";
"3" = if stdenv.hostPlatform.isAarch64 then "bcmrpi3_defconfig" else "bcm2709_defconfig";
"4" = "bcm2711_defconfig";
}.${toString rpiVersion};