From patchwork Wed Mar 20 14:57:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 781373 Delivered-To: patch@linaro.org Received: by 2002:adf:cf01:0:b0:33e:7753:30bd with SMTP id o1csp347017wrj; Wed, 20 Mar 2024 07:59:28 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWuosUsAqCNmxNtEjqU4oAZBYWguAT46eEf/yaQ5tK9vpBeMuyHJMzcrlSswSRTAzR+e2MpqdPb0J2Q3kjL/prP X-Google-Smtp-Source: AGHT+IExXZS9tq+jzbzTzWYmzBcxAw7Paut6UGWOUKIw/McZLa9TEhooqWQ1EFqKXQWn3kfzrAKY X-Received: by 2002:a05:600c:1547:b0:414:392:3abc with SMTP id f7-20020a05600c154700b0041403923abcmr9512540wmg.11.1710946768233; Wed, 20 Mar 2024 07:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1710946768; cv=none; d=google.com; s=arc-20160816; b=BOQWNw1ZLCbHW0YETonj0hJTsnuv9ImvkJCt/GuFQdM0ROo8LCyGzHdM5ONX74b6sG 5IXDfIf1LlBDYFKEQi0JCV+hN1V2U90coa0qbqlEaeIr0FjVVyFZGJNZ2vz53+xl2Qoc /NwyxL5ahfQIYBIrgmNheBwI3qkPmOCNY+Xstrd+xS2mBr1E57/QkwY55uzgjgJzad9E PsS8n/04tz/4XtCxTnRUWAw35NUYeAgJ2Zl6Q5fd+AinHS3gj+0S3BYtIzJ3wg9tXX2P 2D8PgcIFecftmLjuTfQFlyy7Jb6Y3tRX8xuXYW7nKyWzJucfpiy2KIKUKLsV6NZvAewP Vs6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=P6XcPr9pfYOEmSnzHa2qooJBhM9QEIsjkS+to/+R8LA=; fh=gSVpyLKtvZ+QePPYgVwr0OwBuSQ/slJGUurC/y9msiw=; b=luzcE2Ay2lqK+pbFbQR61yyxPS/ea0RQbhft6JP6d3vqh01/k0o1JaEx4jThC65vyi DaRxzqAhECMZr2YpUI7ytuN9zXvEtsJ4U7Ey2mxe7ljdBsuILLpDOD7x6E4siNYmVvHu Hk2oC+aRbgpYZgmwvPeMpozuXYldJGDRNN7WZZ1udfyjAf1UyUp2iC71ZoybdrxwZeLU TLstp6ZUGgSvMPEytcmd3imhT9DtIZEe+ElPcknUF+BWJdJrN+d0lM4GpdPP0UVox5vn tfbdN+5uP1eNCGowbcL8rgysUbN3nWtcv9LPy2CP6Cw+YY2b6/CKnpOmIqEIMxxhDppL 3i9g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uJh6uji8; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id l2-20020a5d6742000000b0033e643e59b4si7238912wrw.1016.2024.03.20.07.59.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:59:28 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uJh6uji8; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7728E8811E; Wed, 20 Mar 2024 15:57:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="uJh6uji8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 61471880C5; Wed, 20 Mar 2024 15:57:26 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 56202880F8 for ; Wed, 20 Mar 2024 15:57:24 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2d2509c66daso88416511fa.3 for ; Wed, 20 Mar 2024 07:57:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1710946644; x=1711551444; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=P6XcPr9pfYOEmSnzHa2qooJBhM9QEIsjkS+to/+R8LA=; b=uJh6uji8lMdJBH0Q9kY2MLfW2dN30q0oMEcEUU+HchRW+72HQPJNj/1OsVkpG5+Csr Lgjd1UR945d+blUI3YS7dCtqRE+p3tAkqRgVr3qzBHDi52/pTMdgUtJDgXBXz/3gsFqx ynMKDocA4alseadAIIy1FhSqgh6fXGg3UTK/qVw6+KcZx1SyoqLbwsqPYzPQTyP+yDDR nmHAMCTLmONrNwOq0GSYiCnDICcsWMQpedoT5pEMM2Thr/P8vkRBwOAx3BkVLpz7wj9c uqn9ziWrtlNaqhaNbLo2nZcRceD25UsBw1YzAmyxXoeigjYL/t8CdEMn+TBycI5EVR5G aTmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710946644; x=1711551444; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P6XcPr9pfYOEmSnzHa2qooJBhM9QEIsjkS+to/+R8LA=; b=Y+ntUhMBzp6pUbHsQDxJI/Di1QD6+dzuZPDdVMd/zRsBP4RRKBW/8OtUO9IrHGxdp4 LHrpk3RwhaIoIMiVmI58GnUN3MdFoQamhcsOmltdHXeaVE4Z4gNqf9gTER2bRirqbjm5 JQW6an8fo83vLQnPlhGPhET+RstAdoXARjIlRzs9CcxwWZMCLIgvXT724v36qiT86bkF HE0xCaKtuqxtw5sEUneNNC1TGNVYi98PdoolSIUCSgXY2VMTUx25+tA2Ol/aOD5YiwJ7 5cIOWq01jt8+v9RiZ3SY83N0r+ZKTgqpvZofzDcAw3hb1+8/NkjYSARbeIaBlgtt/Jzn lGcg== X-Gm-Message-State: AOJu0Yz7c3eT+IxspqW8MRJBqJOsX0MdVbQmqVOpD89YJ1giZ4xLtGZY WOt0zG8YqIkJ4qBIrU5Y7waPozjiSLn4m+oF4y7p2b04Sv01V88tGSerLxEr5+A= X-Received: by 2002:a2e:b8d2:0:b0:2d4:375e:9e43 with SMTP id s18-20020a2eb8d2000000b002d4375e9e43mr13503102ljp.27.1710946643812; Wed, 20 Mar 2024 07:57:23 -0700 (PDT) Received: from lion.localdomain (host-92-17-96-232.as13285.net. [92.17.96.232]) by smtp.gmail.com with ESMTPSA id bi16-20020a05600c3d9000b0041468f79fd5sm2461268wmb.16.2024.03.20.07.57.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 07:57:23 -0700 (PDT) From: Caleb Connolly Date: Wed, 20 Mar 2024 14:57:16 +0000 Subject: [PATCH v4 13/14] qcom_defconfig: enable livetree MIME-Version: 1.0 Message-Id: <20240320-b4-qcom-livetree-v4-13-d867ab1f06c2@linaro.org> References: <20240320-b4-qcom-livetree-v4-0-d867ab1f06c2@linaro.org> In-Reply-To: <20240320-b4-qcom-livetree-v4-0-d867ab1f06c2@linaro.org> To: Tom Rini , Caleb Connolly , Neil Armstrong , Sumit Garg , Lukasz Majewski , Sean Anderson Cc: u-boot@lists.denx.de X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1104; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=nJRZofJGcS/sPbnQvIzqGqi1p7++HEANmQebMMxA9oM=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhtRfP52uewaX8kVvKHjXHfTx1B+5yS5CW1WyrTl++B/Q5 Pqz4t2FjlIWBkEOBlkxRRbxE8ssm9ZettfYvuACzBxWJpAhDFycAjARThOG/2VbYvWm3yosOWBw MqRRxFHSStA/87Otu9LdZ6fvntweuY3hf6j6f8uI7cb/fwbUV1zdxXY433utv1iKpvSnL/HbJEJ mMgAA X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Qualcomm FDTs are on the larger size, and with the addition of DT modifications during board_init() it makes sense to enable OF_LIVE globally. The cost of building the tree should be offset by the increased efficiency at which we can walk it. Some rough measurements with CONFIG_BOOTSTAGE suggests that this might add 0.1-0.2ms to the boot-to-console time. However the reset-to-reset timer difference is in the range of 0.5ms so this could just be noise. Suffice to say, no significant slow down. Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index cbc612b44bd9..8c4402e8f780 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -25,8 +25,9 @@ CONFIG_CMD_UFS=y CONFIG_CMD_USB=y CONFIG_CMD_CAT=y CONFIG_CMD_BMP=y CONFIG_CMD_LOG=y +CONFIG_OF_LIVE=y CONFIG_BUTTON_QCOM_PMIC=y CONFIG_CLK=y CONFIG_CLK_QCOM_QCS404=y CONFIG_CLK_QCOM_SDM845=y