From patchwork Sun Feb 5 22:36:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1737803 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=NqzHs0Bq; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4P94JP6Npcz23fc for ; Mon, 6 Feb 2023 09:46:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4136385922; Sun, 5 Feb 2023 23:41:05 +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="NqzHs0Bq"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8323B859E8; Sun, 5 Feb 2023 23:39:56 +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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 1A2F485979 for ; Sun, 5 Feb 2023 23:39:25 +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-io1-xd35.google.com with SMTP id j4so3885055iog.8 for ; Sun, 05 Feb 2023 14:39:25 -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=VKJqFYf65Is+BV8VZKeMssfyurGycP9dnT0zFC5PiaU=; b=NqzHs0BqAH4E6DEuljVzegP2NqR8hyS9P7nLAR+tJXWYjVMqtcxYKZo5zRJQRpngdj NoTKDIk0nXZajroL/D8ElQ9tkzSaMIzx2MU7pYvII2d052Fd09IUmmLFnqj0gs+eO4RO qkrG58Ni5cIAq/aFC/eOa8YTUuJ/a7xzrR84k= 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=VKJqFYf65Is+BV8VZKeMssfyurGycP9dnT0zFC5PiaU=; b=INSm3dFJQBRIPcuh9PYZ52yzXOimrLRrlzWB7aczvKlTuOQUZT/dLX6Z9p8bOObCvF OVP75GkdlNSU0SzoGQi2iW96UJ5DNwkgTuKM5+6WIZFSAZvGrqLqZmjh0SYutZLdOSoz uMmXp5nlK3jAFbuCM/IoT90EDKrtaIZRcVq3vTQ4XJpMAK5Gewc/eNfTSRB8ybbGtbmZ 7s4krasHMxFSWzvcrVeGUvq5hnfh4TcfhnjDe8FNbKBN4SoqL/kwwKh2XoJLNurPgMAD OBT8MOQy7P1mWl8BLEM80gxs72dlgoEWfDi3YXXNnzce3hG/VTnNs/2txSStyYP2dDGd GZHA== X-Gm-Message-State: AO0yUKW3Q3NDka3IpzJdl+Jf5EajAGgeI+FtldsbHHbogQehWO9T9Yn9 QC7LFs1BnOkIzqDajeWS391snu2FolhWEwaQ X-Google-Smtp-Source: AK7set83eUvWugudoWd5K/3wmagu2gP8ZF/PuZ43xo1lFRUODJfH01n8H+GnKzwpAKMujMPhGN7T0w== X-Received: by 2002:a6b:e017:0:b0:727:506d:8791 with SMTP id z23-20020a6be017000000b00727506d8791mr12347029iog.17.1675636761870; Sun, 05 Feb 2023 14:39:21 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 14:39:21 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v2 035/169] Correct SPL use of CMD_BCB Date: Sun, 5 Feb 2023 15:36:21 -0700 Message-Id: <20230205223836.231657-36-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 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_BCB defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) include/bcb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bcb.h b/include/bcb.h index 897e83d371f..5edb17aa47d 100644 --- a/include/bcb.h +++ b/include/bcb.h @@ -8,7 +8,7 @@ #ifndef __BCB_H__ #define __BCB_H__ -#if CONFIG_IS_ENABLED(CMD_BCB) +#if IS_ENABLED(CONFIG_CMD_BCB) int bcb_write_reboot_reason(int devnum, char *partp, const char *reasonp); #else #include