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 D3F29C27C76 for ; Wed, 25 Jan 2023 16:43:31 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 621368551E; Wed, 25 Jan 2023 17:43:29 +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="ebotfxci"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4FE978563B; Wed, 25 Jan 2023 17:42:28 +0100 (CET) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 BB354856A9 for ; Wed, 25 Jan 2023 17:42:19 +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=ovpanait@gmail.com Received: by mail-wr1-x433.google.com with SMTP id y1so13176675wru.2 for ; Wed, 25 Jan 2023 08:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=NjCLaweOcDS8PI9fy1cVSfgbSoLAEkG4Ukw4vi4VnhY=; b=ebotfxciq8WrxZ/RHyghUeRgDf7JMOHJdka7nfeIyopqssJj/FWVy7/ccVyB149HX4 mOeJsu03F0tIfK8QYxivWXTUe0CULy7BjwpkIkQnc9XkSgZFGP/Ec3bcV4eM/SuuX5tw yxeQ7EiSuQs8EuaYQYeNhFX6UfW/eNTDGPhPc5umbTXxoPgMU1suI58dXbqCjyAtAhCc QGyXlakfQ1MgrVEtnUXI1aHF4jXz4KODQLt9Q5V9fEVTDolANxaIViWTmRgITHqWuSM8 Y8mI0OfRJJmor9KNEvmmYLQP1ISSRgGZXnJZxy5NbY6tqNjG6u4r/C3k1h08qjTQGW/w Q9GA== 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=NjCLaweOcDS8PI9fy1cVSfgbSoLAEkG4Ukw4vi4VnhY=; b=xdVJpAXAP6tbJXuHEojF0AdYyWEfsyz0H6foFXRBjyc46Nb23e8kmed8itIsgf6BNi fcO2DGvsaL1ag4p2Lxive/FKIhQpMpwZDH9UK0MxnAjr7/c4P93PT5WANNlJmGLZrGCr k2yR1lKvtc+PY47BEp/WeCQ6PS7RlF39fT9zTS4BZE3gU7LGowrK0LetWPnzM+6LfMXL 6uURA+OmRTHuwLV/n5HAdNpwyO+bq9rh6GA+//3te97J8Fbbz521OsllBEtvWpA52Fpl uF3cEybosUb8HM41QFMQVr/IcaC2U7fCgZKWcEHl57vPVpdX3LtySXOK12kSdyFan5pF pv/w== X-Gm-Message-State: AFqh2kqYGgCQ++/hxXwk7N2uqEtqslOv43eOw3AK89MTiHFin7Y8rVw2 JXif+wOCzY7ccpkKHnzes4P7eUIoE05U0Q== X-Google-Smtp-Source: AMrXdXtNyvH6HJMPQjOhB1fs0CAgYPgwjUTs9nT7mtq+Gr6QzuFuL3gY5Jpp6Kx3ovCDxQkGsTSqKw== X-Received: by 2002:adf:edd1:0:b0:2bd:c6ce:7bfc with SMTP id v17-20020adfedd1000000b002bdc6ce7bfcmr29903655wro.42.1674664939326; Wed, 25 Jan 2023 08:42:19 -0800 (PST) Received: from wsdell.wrs.com ([2a02:2f0e:c00b:fb00:7e01:d16c:e210:1f8f]) by smtp.gmail.com with ESMTPSA id r3-20020a5d4e43000000b002be0b1e556esm4791616wrt.59.2023.01.25.08.42.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 08:42:19 -0800 (PST) From: Ovidiu Panait To: u-boot@lists.denx.de Cc: Ovidiu Panait , Michal Simek , Michal Simek Subject: [PATCH v2 2/3] microblaze: spl: drop boot_linux Date: Wed, 25 Jan 2023 18:41:56 +0200 Message-Id: <20230125164157.1638680-2-ovpanait@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230125164157.1638680-1-ovpanait@gmail.com> References: <20230125164157.1638680-1-ovpanait@gmail.com> 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 Drop boot_linux variable as it is not assigned anywhere. Now that there is no variable controlling linux boot in spl_start_uboot(), make this function always return false when falcon mode is enabled. Signed-off-by: Ovidiu Panait --- Changes in v2: New patch. arch/microblaze/cpu/spl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/microblaze/cpu/spl.c b/arch/microblaze/cpu/spl.c index b9ff9c3702..eaa095ba99 100644 --- a/arch/microblaze/cpu/spl.c +++ b/arch/microblaze/cpu/spl.c @@ -14,8 +14,6 @@ #include #include -bool boot_linux; - void board_boot_order(u32 *spl_boot_list) { spl_boot_list[0] = BOOT_DEVICE_NOR; @@ -44,10 +42,7 @@ void __noreturn jump_to_image_linux(struct spl_image_info *spl_image) int spl_start_uboot(void) { - if (boot_linux) - return 0; - - return 1; + return 0; } #endif /* CONFIG_SPL_OS_BOOT */ -- 2.25.1