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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 37888C636CD for ; Sun, 5 Feb 2023 22:49:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D234785934; Sun, 5 Feb 2023 23:41:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="N5eThDuX"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 55E47859ED; Sun, 5 Feb 2023 23:40:06 +0100 (CET) Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 B2BEA8593E for ; Sun, 5 Feb 2023 23:39:30 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x12c.google.com with SMTP id m15so4096168ilh.9 for ; Sun, 05 Feb 2023 14:39:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; 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=k3VOM5oBjSoMB33qM0w8/D7SKykw5UcYM56I8hAJ25U=; b=N5eThDuXIWuC3xwGx1Pe4LBTnY8Yy5AFduKwzwaTCKk9GIYqFP96ALQwNOngWKnWgp yZl6m6eA3FPf1Edof0kTKAw59pCj7GUDqv6+TzEnkmmgP7Vn2z9hJmx/BboWgJhrR/xk cjxxDXPm5GQE08mQTXJVlE42w6lRaQN4P6DBY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=k3VOM5oBjSoMB33qM0w8/D7SKykw5UcYM56I8hAJ25U=; b=NR+Pu0psaIA0jE+jZkJftZMnYIFJ2kxUow+1gAL2qHs+mM0f0prvgQWipzoH5U7JSg hda18ikOOCImPt6zkFb0v8lnifCuj7u+ZE6ygKv+QV8MIDVBZ8vLTSaF4C/PM51fd12V 0LK/bkxpTcVB1ZHaClDCQbhVZAky29wUcLzQ9k+XzAkKQyfIJ1mWqVbXSQQuyiGXt6CX YHcd/c8PVtuIfIa7+pd5IYvAjF7qmEyCCXHspoYGzsL15wdO0EU2DImuwZ+L+OkK5BNJ z+j0PWgr5IWG4p3Kt0sF7IuYI41ZmxkILqjdFRDf1vZeI6Xs1t9S+W9W5Ao/ULyH66pJ dv4Q== X-Gm-Message-State: AO0yUKVFwhcP8OIbGf/bC9p66E7MVQQeghDoAYKKZP/Au6V2XG2wcd8V M5wpj+wqVe9G7oZNOREeHxPQOMX7JAaBj79t X-Google-Smtp-Source: AK7set+qiHAY6QO0qKf6WnxolVzILBSX9oeHm/hppmzCdBTobftre9qeJoqq7ce7jzqBUJPTBXe07g== X-Received: by 2002:a05:6e02:16cd:b0:312:6844:75fd with SMTP id 13-20020a056e0216cd00b00312684475fdmr15056570ilx.19.1675636770205; Sun, 05 Feb 2023 14:39:30 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id m40-20020a05663840a800b003b49e7d990asm2856393jam.30.2023.02.05.14.39.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:39:30 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 045/169] Correct SPL use of CMD_FRU Date: Sun, 5 Feb 2023 15:36:31 -0700 Message-Id: <20230205223836.231657-46-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.519.gcb327c4b5f-goog In-Reply-To: <20230205223836.231657-1-sjg@chromium.org> References: <20230205223836.231657-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.6 at phobos.denx.de X-Virus-Status: Clean This converts 1 usage of this option to the non-SPL form, since there is no SPL_CMD_FRU defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) board/xilinx/common/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c index e2c957fa163..3dea238466d 100644 --- a/board/xilinx/common/board.c +++ b/board/xilinx/common/board.c @@ -306,7 +306,7 @@ static int xilinx_read_eeprom_single(char *name, debug("%s: i2c memory detected: %s\n", __func__, name); - if (CONFIG_IS_ENABLED(CMD_FRU) && xilinx_detect_fru(buffer)) + if (IS_ENABLED(CONFIG_CMD_FRU) && xilinx_detect_fru(buffer)) return xilinx_read_eeprom_fru(dev, name, desc); if (xilinx_detect_legacy(buffer)) -- 2.39.1.519.gcb327c4b5f-goog