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 E8470C61DA4 for ; Wed, 22 Feb 2023 16:39:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 039D785AE6; Wed, 22 Feb 2023 17:36: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=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="fgj9oEns"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B2E0B85B08; Wed, 22 Feb 2023 17:35:46 +0100 (CET) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (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 55FC285B0F for ; Wed, 22 Feb 2023 17:34:57 +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-xd36.google.com with SMTP id 76so3752802iou.9 for ; Wed, 22 Feb 2023 08:34:57 -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=H66Pjh1SWQpiI4ZPDw89A8VRAScu2x+bdJ614yeHERo=; b=fgj9oEnsgasO5VpEkcdk/jFXbcYYJmCtHowj5qgUXCeVSEvnOIKO2G0FQaN2Oeev7e ZygtP3BG3bjEY6BW3LmdSbIUz4xgMhdLtR1OH3iTnAb6Ff8or94ufAk7UW3FZ1exnJNE NpCNA50O5BWTyrszDLRr9w3LEfr5IuSqy4SR0= 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=H66Pjh1SWQpiI4ZPDw89A8VRAScu2x+bdJ614yeHERo=; b=oXj/fV/qWa9T1IGZFTdEVHvVUkRw2Fa2ZfXWR3iB8IXQ6ChT5g7KSQzJYDoB8e77eq cVrSg/v7sJkTGYbzGWKOHn/vn+yiYbBHErRtsyz+nods856Uumo8+P7LGewttE0BzTZQ AHtAb7hqfRU9VVRVpzKV1jjI3OxUclkijH0XiQozFNd6UTAjdk4q4JS7UrzZaVqBoPtw gGNGKdmIheT955YPqwpCqyj5TlcyO6i+8xILVpz2gDUe0WqJKKgMQnAAaR+oqhDWvxW1 9o6VMCyDsLWRn8nGK5XHf+eaaWQDfyni2o2nZ5qHFbkCApXUm7IWWwdInQ0xBWtxiO2+ 2wLA== X-Gm-Message-State: AO0yUKWtsY+KWzKHg8J2dodrdesEApKjXR1hzhVjpEBNfpPhvu2dZ5eO C0AX43V9GwwQEXHoG7H9AV23OVszdGhwRCHl X-Google-Smtp-Source: AK7set/jtwKDZEpWpccGcasnGG5UBy5rrDXy712muSF0uyrMBgdbpeofLop+hc559V2ctR/I59Ul6g== X-Received: by 2002:a5d:891a:0:b0:722:b5a6:bde5 with SMTP id b26-20020a5d891a000000b00722b5a6bde5mr1337296ion.21.1677083691146; Wed, 22 Feb 2023 08:34:51 -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 z26-20020a056602005a00b00716eb44b97esm2164541ioz.27.2023.02.22.08.34.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:34:50 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Simon Glass Subject: [PATCH v5 12/44] Correct SPL use of DM_RNG Date: Wed, 22 Feb 2023 09:33:53 -0700 Message-Id: <20230222163425.2043934-13-sjg@chromium.org> X-Mailer: git-send-email 2.39.2.637.g21b0678d19-goog In-Reply-To: <20230222163425.2043934-1-sjg@chromium.org> References: <20230222163425.2043934-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_DM_RNG defined in Kconfig Signed-off-by: Simon Glass --- (no changes since v1) boot/vbe_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/vbe_request.c b/boot/vbe_request.c index 45f1d2b7e17..312edfa2bdb 100644 --- a/boot/vbe_request.c +++ b/boot/vbe_request.c @@ -36,7 +36,7 @@ static int handle_random_req(ofnode node, int default_size, u32 size; int ret; - if (!CONFIG_IS_ENABLED(DM_RNG)) + if (!IS_ENABLED(CONFIG_DM_RNG)) return -ENOTSUPP; if (ofnode_read_u32(node, "vbe,size", &size)) { -- 2.39.2.637.g21b0678d19-goog