From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 14A99C531C9 for ; Fri, 24 Jul 2026 15:30:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id F29004097C; Fri, 24 Jul 2026 15:30:26 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id UTh__uIQZZy5; Fri, 24 Jul 2026 15:30:25 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 12BDB40992 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org ; s=default; t=1784907025; bh=0SaVsSN8ZVrzJFuUoc7NFcQgS6g4G+hzTa61D3y5oUc=; h=Date:To:From:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ajynhV8GcDx16RYoCMXIIm4+FRn1LsKe2IS+uwiQ6lDO8c7Yncp2d8aii8k0OHDvH feGeh2l1wJnKUaFrnMeFGsxGrzY5N6jIpqf9BSm/9kAUmMStp33mDRK3I2RPSVk81G 6rPgn+rpgxO2xxRdqNWni8vIFxrste6fUjqgqw4yuyRDi8MzskZ6tAvp2xdY9ZL+Wi 5x4DfoUPWb08DlXPs290M0vMxR+jfEEa2flcw0IIzSv2CD3nqHA/+LLTNqHF0+PvRY 1n8RGfEj96uMsPvqLZetd5H7s9uMJrJWLuV3okEGoCrxBpoWg2cg+e1FpCmGkS4+RP /m9rEOxRkVpkA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 12BDB40992; Fri, 24 Jul 2026 15:30:25 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists1.osuosl.org (Postfix) with ESMTP id 559913B1 for ; Fri, 24 Jul 2026 15:30:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3B4E4400F8 for ; Fri, 24 Jul 2026 15:30:24 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Yly9mMaEGlRS for ; Fri, 24 Jul 2026 15:30:23 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::335; helo=mail-wm1-x335.google.com; envelope-from=ccaione@baylibre.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org E14AA400BD DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org E14AA400BD Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by smtp2.osuosl.org (Postfix) with ESMTPS id E14AA400BD for ; Fri, 24 Jul 2026 15:30:21 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-49554ebb87dso5597865e9.3 for ; Fri, 24 Jul 2026 08:30:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784907019; x=1785511819; h=in-reply-to:references:subject:from:to:message-id:date:content-type :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to:content-type; bh=0SaVsSN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DQanN0Q0YJM8Vl3d3dWKvChRn Vc2+v5p4x0cgFrBwSry3YA03djiqtnkX/r7yDZ2FWsImK1iLS3Z5KDolWJ X-Received: by 2002:a05:600c:5718:b0:495:4e89:3f30 with SMTP id 5b1f17b1804b1-49573cd069bmr67245255e9.15.1784907019313; Fri, 24 Jul 2026 08:30:19 -0700 (PDT) Received: from localhost (host-87-0-90-136.retail.telecomitalia.it. [87.0.90.136]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-496b429389dsm858265e9.9.2026.07.24.08.30.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jul 2026 08:30:18 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 24 Jul 2026 17:30:17 +0200 Message-Id: To: "Carlo Caione" , , , , , , , From: "Carlo Caione" Subject: Re: [PATCH v2] fit: prefer the default configuration on best-match ties X-Mailer: aerc 0.21.0 References: <20260709104940.75514-1-ccaione@baylibre.com> In-Reply-To: <20260709104940.75514-1-ccaione@baylibre.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1784907019; x=1785511819; darn=lists.u-boot-project.org; h=in-reply-to:references:subject:from:to:message-id:date:content-type :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0SaVsSN8ZVrzJFuUoc7NFcQgS6g4G+hzTa61D3y5oUc=; b=WCgezkXEMB88eEwXpzkU9Xm8DOwkzzFsTuirACch4VJj6R4v+AffptPJdAkKITf2Nz eMGFyU7taZdth0gvnTXePTU/BRB6RgWDQFhKOBYPw+J1yGrbUA6AzfMHbsDMpCMH2Rjf pU8U4opRmJr0cGeTlGd3/6AY3L2x+Nh+QajrybGdXWyKMqdTlZABx3TI7W/HuMgmcmhM gas4bTlMy/49QWL4tP1BbB+Bhzceh23HdBlybywPaa7vu6jChinpjNOGoJLS6FyX+zu8 OXVO7ohCGjPlnJzYmbRFWnUFdCynY2jeostWaz6ROpg0r7JTm1PC2cUycM2CfTlOUY9C ejfQ== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=none (p=none dis=none) header.from=baylibre.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=WCgezkXE X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.u-boot-project.org Sender: "U-Boot" On Thu Jul 9, 2026 at 12:48 PM CEST, Carlo Caione wrote: > With CONFIG_FIT_BEST_MATCH, fit_conf_find_compat() selects the > configuration matching the most specific U-Boot compatible string; on > equal matches the first listed configuration wins and the configurations > node 'default' property is never consulted. > > A FIT whose configurations all share the same base devicetree compatible > (e.g. one manifest carrying a base tree plus overlay combinations for a > single board) therefore always boots the first configuration, silently > ignoring the default chosen by the manifest author. > > Break score ties in favour of the default configuration. A strictly > better compatible match still wins over it, and FITs without a default > keep the current first-listed behaviour. > > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini > Signed-off-by: Carlo Caione Hi Simon and Tom, any chance you can pick this up for the next release? Thanks, -- Carlo Caione