Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2898784lqo; Mon, 20 May 2024 23:52:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzsIv0YicPzfv1Q+F7kWCQPuqDlQZ/QIL4Md5y3v2wLx2qZ+ebWVS8HJe3cqjGIl9tjorN5HZHrYzKgVO0cFcNfziLM1CV+rVlIK9P1g== X-Google-Smtp-Source: AGHT+IF4WCh8+DH70LcF4DAG8aGjRhZfboP2IpXw/g9d+U5MnG0B4l+rgk+7YKON6YpaFXTSL1X8 X-Received: by 2002:a05:6358:320e:b0:18d:7755:8215 with SMTP id e5c5f4694b2df-193bcff0a9emr3594719655d.27.1716274320366; Mon, 20 May 2024 23:52:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716274320; cv=pass; d=google.com; s=arc-20160816; b=YF1Hl8/bhFzbQFctm7oJvnOQMxZQAwJt5P/Kr5UQWShDdgT7AlEpSwKlJGksI64elm S2tDCdrzWrkQSuqfUkeHvja1/Rhxr8X8lDuSifLUsaRL7rwb1dbhMtMAB6Lt67ABexcu rLN7cC6h1L25mtdnhjUAzy6ZkVua+sLacbcrsDBfdxyCetpYz/8Tks83eVpyDYI6OVbN Xrjt3OYtZbHdLOWc97qggAq01MBCzAB377TzIYCFzsKcJ2eWkXLWQrG82yHcLRqMUnGT Rd7uu+P36FOt6PJNdjSuvfp271BtwmkG4Jy/Z2UMuvQPRkj04gSLzBTDuXzadbC54Nrs 0HbQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LiOnX2/+/NaKrnz1dB8iIjPpDkqOamcc1T4O8qQETy8=; fh=J/Nq8C9kQKZDNo2mY+/RQRbWe1XG7pXFOY+iU9/8nW4=; b=t2gTho5s9D6NxqmkhZH3kTzYrd/FaPjxFwe5aKZgHKmL3/HsIkEbD8li/WpEhMnPOO gAKjtvaR0nnKzt4dSEy4jvjSYI/i+OkPikisdLeqIEBJJ3vJIxBqfi31SZI7psNZoDvy hX6SjlQ8XLIVzBAsF2EebfIk85urwpHaTK1Keij6s4OkfjjOAkCMlXYw2uVosx6pqKP+ ZHodPKBdSl2UAf6/9EPWA1pQwnSOp/bg33HXAGySALnEnJrpXswHw8Op5W0qqK4kM2T7 yX28dTbM6JDIMnN8Lpbe0kX8DNJTZ88GPWGvNAiyBzR4D8O196grm3n6cqwXDVUU7EMI 9IsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eJyuYSfR; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-184534-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-654f2660ce4si10883522a12.25.2024.05.20.23.52.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 23:52:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184534-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eJyuYSfR; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-184534-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EAA50282A9F for ; Tue, 21 May 2024 06:51:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AA8351C44; Tue, 21 May 2024 06:51:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="eJyuYSfR" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 579A54F8A1 for ; Tue, 21 May 2024 06:51:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716274278; cv=none; b=HME/GAXFwSRssRD1R6jliRsERGIOyjhoYYIA+nC0WzhaGGSGZYwtTlbEDXIrynDPiIYN8PoVwGo7P3wE4kz5x1B5Ksz4d0ovuUztbX00splDEe3g4avrzu8rM1lkU8PjKOLf117XGu7BtDalHi8zcaFUbQuJfOce+szmUbdi9a8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716274278; c=relaxed/simple; bh=tlZwiytyy7GUSuUxcwpKbDSIVmkSh/Ozgpm8JddXkGk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cylqZvEcIJjSj8LkBE3XBhN9WiQ1AbHlzuPC1baid3beTNoBUbi8YKzsPXDr8h/PX4nKBUNFlnSOJty40S94/Wo4ZkO+5GN6+qKj3LcVuciN5Afzm6+h9KSMLUjZ4A9x7NP0+UvT3byOo0hqtlZ/7rNHxnbBYk7BO+MoqTQYFSE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=eJyuYSfR; arc=none smtp.client-ip=209.85.214.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1f0537e39b3so95641255ad.3 for ; Mon, 20 May 2024 23:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1716274276; x=1716879076; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=LiOnX2/+/NaKrnz1dB8iIjPpDkqOamcc1T4O8qQETy8=; b=eJyuYSfRkvrN0xS5Zvk/jVk9fBGIH44YvVVYl2mlnexQ6UJLNc85cwLaZEU0NFMd3r DXIpqh6gA8m0s1kKtBFuSESXviSsKUQg+tcHv2EPx5Oc67w3kpspbJX9RqYGdESjSsZX yf/BKVlFeGbnV/mVXC8YoOuZA9euGvpF3yJ2A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716274276; x=1716879076; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LiOnX2/+/NaKrnz1dB8iIjPpDkqOamcc1T4O8qQETy8=; b=V7Yu+TEV1mk1EpcK7J0eGk5Jciu1Feqk/0lcGxqXUS3LUemKxgcw8WA8t6ppf2p1Mh kZWHuhEy4MZGIAlXNCKNNqvxa55FPN3X1Wpy5NEhqDIQq+JK56iC4KI35oDm3mj812R+ 0AFh1vFy3RXjTN3QT4vutM+eKeCuk/CORG2Khx4OzQZNO8XdflmhuWCLYUY1haXYC3Md hpqq84971n5xwmwIC3ufoWwW4JyRkRtW6nY1rY79VGMlpOJlVrqd2qscdSnVRGy9WmMn BPVO+RliCh1BsGDTtBuqqrQ6rtc78iT5eUwh5WFEQiFmQCcIsiTni5AMI05obBaP49UP 34Ug== X-Forwarded-Encrypted: i=1; AJvYcCXxyWB7Xv8E/mw5nhm1CS+KdXRPFOzHzstkLqtl/RogshjJVEwfNCWGZie+RSCzPQ5m+uWWm/pxkaEaydJHvzRSabYerxg96Aj73gjQ X-Gm-Message-State: AOJu0YympUCPzLAK4OoxepAoNc3DCtIEUZ79ZlLuh2W3z1I4U7UV4Nph vHIGUSygQ3sYRLnYVehMDunU/VEKsy6PvhS1MBP23716doO7u6ncvBiPPQDotg== X-Received: by 2002:a05:6a20:9746:b0:1aa:6a28:cf6e with SMTP id adf61e73a8af0-1afde1c5506mr29051396637.48.1716274276630; Mon, 20 May 2024 23:51:16 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:f8a5:77aa:5a0d:e30c]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f30644ad48sm23100985ad.169.2024.05.20.23.51.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 23:51:16 -0700 (PDT) From: Chen-Yu Tsai To: Simon Glass , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 1/2] scripts/make_fit: Drop fdt image entry compatible string Date: Tue, 21 May 2024 14:51:04 +0800 Message-ID: <20240521065107.30371-2-wenst@chromium.org> X-Mailer: git-send-email 2.45.0.215.g3402c0e53f-goog In-Reply-To: <20240521065107.30371-1-wenst@chromium.org> References: <20240521065107.30371-1-wenst@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit According to the FIT image spec, the compatible string in the fdt image node or any image node specifies the method to load the image, not the compatible string embedded in the FDT or used for matching. Drop the compatible string from the fdt image entry node. While at it also fix up a typo in the document section of output_dtb. Fixes: 7a23b027ec17 ("arm64: boot: Support Flat Image Tree") Signed-off-by: Chen-Yu Tsai --- scripts/make_fit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/make_fit.py b/scripts/make_fit.py index 3de90c5a094b..263147df80a4 100755 --- a/scripts/make_fit.py +++ b/scripts/make_fit.py @@ -190,7 +190,7 @@ def output_dtb(fsw, seq, fname, arch, compress): Args: fsw (libfdt.FdtSw): Object to use for writing seq (int): Sequence number (1 for first) - fmame (str): Filename containing the DTB + fname (str): Filename containing the DTB arch: FIT architecture, e.g. 'arm64' compress (str): Compressed algorithm, e.g. 'gzip' @@ -211,7 +211,6 @@ def output_dtb(fsw, seq, fname, arch, compress): fsw.property_string('type', 'flat_dt') fsw.property_string('arch', arch) fsw.property_string('compression', compress) - fsw.property('compatible', bytes(compat)) with open(fname, 'rb') as inf: compressed = compress_data(inf, compress) -- 2.45.0.215.g3402c0e53f-goog