anchor.diff:      meta = with lib; {
         homepage = "https://github.com/ARM-software/arm-trusted-firmware";
         description = "A reference implementation of secure world software for ARMv8-A";
  -      license = (if unfreeIncludeHDCPBlob then [ licenses.unfreeRedistributable ] else []) ++ [ licenses.bsd3 ];
  +      license = [ licenses.bsd3 ] ++ lib.optionals (!deleteHDCPBlobBeforeBuild) [ licenses.unfreeRedistributable ];
         maintainers = with maintainers; [ lopsided98 ];
       } // extraMeta;
     } // builtins.removeAttrs args [ "extraMeta" ]);
  
positive.code:       sha256 = "sha256-qT9DdTvMcUrvRzgmVf2qmKB+Rb1WOB4p1rM+fsewGcg=";
      };
  
      patches = lib.optionals (!unfreeIncludeHDCPBlob) [
        # this is a rebased version of https://gitlab.com/vicencb/kevinboot/-/blob/master/atf.patch
        ./remove-hdcp-blob.patch
      ];
  
      depsBuildBuild = [ buildPackages.stdenv.cc ];
  
  
negative.code:     platform = "rk3328";
      extraMeta.platforms = ["aarch64-linux"];
      filesToInstall = [ "build/${platform}/release/bl31/bl31.elf"];
      platformCanUseHDCPBlob = true;
    };
  
    armTrustedFirmwareRK3399 = buildArmTrustedFirmware rec {
  