From patchwork Mon Mar 13 21:31:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 1756581 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 (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=ac/ktajw; 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 4Pb9134B4Rz1yWs for ; Tue, 14 Mar 2023 08:35:03 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 216CA860F7; Mon, 13 Mar 2023 22:32:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com 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=gmail.com header.i=@gmail.com header.b="ac/ktajw"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2123685D62; Mon, 13 Mar 2023 22:32:22 +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,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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 41F5385D68 for ; Mon, 13 Mar 2023 22:32:06 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=troykiskyboundary@gmail.com Received: by mail-pl1-x62e.google.com with SMTP id h8so14462811plf.10 for ; Mon, 13 Mar 2023 14:32:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678743126; 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=l5lhKHDYJfT6f9Nw2MJ7BfMgCSW01N2Qx2juAMmiads=; b=ac/ktajwCq08BsPNmOJMSeTFg+BkAzRDw9w/9KJ7YkCpbfRNbtP5AZkmfZwQOFfU7R IxElrdUqKFssoP2z6NMHzOTv+tMYMAy/En6B5CEa17Jz7T9WsJ0daExkrpPu9G4WBPKc DL0yulZiujEHRMx0GoT9GvhbvzSFGaQUeAmgQNDVIBZ8KU8+t+vJ2o0hRx5KMmNxwfjq 4ugb/3Hg5pB/Q/xnhgCCVzFODSqjS/yqLuwn9CVedMj6yyZIU8l17rcJrIH18CDq3UjG MP7OSNQ1tsTe6+4Naao0knPRe5TpcFOajfH1P3eKErRXQXflcsqzayTJB7QOHV97Ol6H QQcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678743126; 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=l5lhKHDYJfT6f9Nw2MJ7BfMgCSW01N2Qx2juAMmiads=; b=dQNqDygtrwA07qSSkQ+OK+gdnF1MnGamcz08NLU0wpZV94bxI6Ou+P+ZoKwLkWEU8x gI5kJWbCyuthduUiN9XWqNPNvZ4mYxukmbL6OgWYbepX3vr3JidPM1IPVsoS3ZXXRkP3 PdqfRh/CtUjoI5Jcs8R09UWt6DqEv0hViFYl7qy/NCHLrmcGrS62qk6ERH7yeoVb1QlZ bTVoWs8bm5HE/BDEmht53KyxQ87KlTMmbCyS59i9ulIUgwmnP3FfvT92KNVfRkXVLWOp runq5YmTLkLkjOnWb3AGN+AsjIfl5My1wC0p6PXr/eXsOZ9ypSxHbXm9XyycUsC4UArX ny9Q== X-Gm-Message-State: AO0yUKVnmfFj38ARQcW2/n8YYYyZsG/7MY8Z4LKgxIplu5C+jOYvc2d9 ZL5zQ2+m+odWavt3/FZVtDg= X-Google-Smtp-Source: AK7set8UeA4l23zAg8xO3kbHfkm8swVFK3VzhMrnKXOHauyLsw4+B8U3mSR/yM/N/XA6nav4/NHa2Q== X-Received: by 2002:a05:6a21:33a2:b0:cd:97f3:25e1 with SMTP id yy34-20020a056a2133a200b000cd97f325e1mr46707172pzb.51.1678743125817; Mon, 13 Mar 2023 14:32:05 -0700 (PDT) Received: from OS2.boundarydevices.com. (wsip-184-189-120-117.oc.oc.cox.net. [184.189.120.117]) by smtp.gmail.com with ESMTPSA id s24-20020aa78298000000b005d4360ed2bbsm150797pfm.197.2023.03.13.14.32.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 14:32:05 -0700 (PDT) From: Troy Kisky To: sjg@chromium.org, trini@konsulko.com, u-boot@lists.denx.de Cc: gary.bisson@lairdconnect.com, Troy Kisky , Bin Meng Subject: [PATCH v3 11/23] x86: cpu: qemu: qemu: remove SPL use with CONFIG_IS_ENABLED Date: Mon, 13 Mar 2023 14:31:33 -0700 Message-Id: <20230313213146.1775650-12-troykiskyboundary@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230313213146.1775650-1-troykiskyboundary@gmail.com> References: <20230313213146.1775650-1-troykiskyboundary@gmail.com> 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.8 at phobos.denx.de X-Virus-Status: Clean CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT) would check for CONFIG_SPL_SPL_X86_32BIT_INIT for SPL builds Signed-off-by: Troy Kisky Reviewed-by: Simon Glass --- (no changes since v1) arch/x86/cpu/qemu/qemu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/qemu/qemu.c b/arch/x86/cpu/qemu/qemu.c index e54082df7f9..274978c023b 100644 --- a/arch/x86/cpu/qemu/qemu.c +++ b/arch/x86/cpu/qemu/qemu.c @@ -97,7 +97,7 @@ static void qemu_chipset_init(void) } } -#if !CONFIG_IS_ENABLED(SPL_X86_32BIT_INIT) +#if CONFIG_IS_ENABLED(X86_32BIT_INIT) int arch_cpu_init(void) { post_code(POST_CPU_INIT);