From patchwork Wed Mar 1 08:18:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1749872 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=googlegroups.com (client-ip=2a00:1450:4864:20::23e; helo=mail-lj1-x23e.google.com; envelope-from=swupdate+bncbcxploxj6ikrb3uu7spqmgqehxcaktq@googlegroups.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=Ocss5guZ; dkim-atps=neutral Received: from mail-lj1-x23e.google.com (mail-lj1-x23e.google.com [IPv6:2a00:1450:4864:20::23e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PRRw662SKz1yXC for ; Wed, 1 Mar 2023 19:19:01 +1100 (AEDT) Received: by mail-lj1-x23e.google.com with SMTP id z7-20020a2ebcc7000000b00295af1d36b6sf3574989ljp.1 for ; Wed, 01 Mar 2023 00:19:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677658735; cv=pass; d=google.com; s=arc-20160816; b=R0pkMgXKd9wvHFWs1xp7L1YHk9k4LgSH3za6GnWb/28UznWivbiNWoqOnyE6A1PzQ2 Uldxv2Fh1B6lFQbW/so0lWfxI3IkTNvn2vzdPcVoO8hJ9ZkobOEX8qpSXnv36z1ufS4d EejEBLSm4mFHT2tdIJ8ljjlSdSMR2qI0M+fr8dpszNdKCTUbqgC+WgYSdFWCnYW0q/7l 1z2o2nPKAgxHeoAbZ2jZBO04od5dVnhEALWsepcDqVnJY3lqEi8LEKvr7tLh7F9wNnCM xEeqqc7WiRrbTfZCmWImA3k+Xf/MJOohPV3chO4PrK6aG+weA0sbPJfbKLqCC5Hy0Nwl hARw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=ggFc4z+SDAI89DFgMHCreb5xb7foqiKbQzuREy4S9HY=; b=cWFmuIVYBsp+1RIB4TiAyyHNUpa1tquDaCavXKezIMWBU2/cVhGqv1iZDiX/LW0Sh3 qPG7QyY1txz0hc74mmZS31dbfwMSpQsSrc6LcYq5LZVln46GDh5TMDam/Yzc5g62hSyk dFxbO7Bzqgu7u3Hapuruu1SPaz2XbVcLuoCvM68eKkZdq2IUP8Hn5CSJXz7sj96Os4wA y6GhOCgHdG02ZEupBwQpujK9FKZRcRD2NIRHMVs0+97lJFb+4O/lXk/zgEGod1qYeoAN jLgyOCor0fECkLHOtn/erY/r/deXSVO6cS0XbCzHdACMkUqC2+as1XuLXzcU0YNLmogU /Nxg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1677658735; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=ggFc4z+SDAI89DFgMHCreb5xb7foqiKbQzuREy4S9HY=; b=Ocss5guZM4w1gP1WiQcYaVrQ5xGgH4zr0NdA9Bt+qk6GG09FrCEAIozhl5r6OmUeG1 4N1mleMSO7CgGvdAJ0odoahmKXW+1ig1jX96mSF+nW9PyJd086yj/Ztrv/RUVaG++fTf k2D3OEQBhv2rqLIxjh+Bru+vkguxRsRZhsMawa5JNeJbqe50KI/0/wePaAbKdSAIqyl3 qs8KbbUL+5mXpUUX5QuEYEl2BUMrH2IvKnYbq8SajR4gflXWfhw5K+U15L8Qr99HxOW+ 8obkI8zbKylDO0zGtKpmdO8q/OBWJmRUKdSGfpGpQUA6TFigN88LRncj4V4fDR8tzadw 7/Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677658735; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=ggFc4z+SDAI89DFgMHCreb5xb7foqiKbQzuREy4S9HY=; b=mqUwNmx1gWiJYMgYqvdLd5O8TqBvFMsCARkfo8oT5Iz/KrslgUC+0ZnAIKzyMi0U0C 3bQLOLiTlAyLbLttH0TBEA4B3OaQM162o+4o+cOP0ZGaQ2ZXSuyroVKfccacY+3hCdDN sKBIlmcpritGlNpV7bjHtAV+zo85dm6RI+Xep5uX/vaPhSOVC8xRtTvKVWoVKrMlZNob uv0qzb8bkXFRxt99AtLsFlzWz/BWeUVIqQFkzUL48VTXHfI2Ovo1dLkp3sjCyiVi6KsH B5j2XeES8U7JEW/06H9pqHSnnBIeWFkcKZjTwodOx2JXZWy/ipY5/OcZHkN5hu6szupB e5Yg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AO0yUKWS3e0vTRhnMeHOniGCr9sa/OF/WZByaABCdbUG2cJxi55yLJVQ WO+PaAU15Q/DnlbMj1OL2TE= X-Google-Smtp-Source: AK7set8sJxkFqFOMEX/pq9gcMGb2hCRy1cBDYeth1VtbeCFCF0TcbLqQxdt6Ip6MG3DDf9hxrf4PLQ== X-Received: by 2002:a2e:b804:0:b0:295:d632:ba29 with SMTP id u4-20020a2eb804000000b00295d632ba29mr342541ljo.8.1677658735185; Wed, 01 Mar 2023 00:18:55 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:e9f:b0:4db:51a5:d2e8 with SMTP id bi31-20020a0565120e9f00b004db51a5d2e8ls1154658lfb.2.-pod-prod-gmail; Wed, 01 Mar 2023 00:18:53 -0800 (PST) X-Received: by 2002:ac2:5965:0:b0:4b5:9138:145b with SMTP id h5-20020ac25965000000b004b59138145bmr1533156lfp.14.1677658733426; Wed, 01 Mar 2023 00:18:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677658733; cv=none; d=google.com; s=arc-20160816; b=C8/LAeD1CezJRNUYY3fWMi+K8BVX+hs7Wv2zLsE6IdqGzwJJesG8JazBzDtpCySSEZ PJ1N18NRDt45irN7L17rIWO8TZbgxFmCj5grb6K1LaLN9Fp2P8f4LngHc4KhJiNFrI58 c1cKxetNIBjGTuMxfMOJO6U+83hwOxd4JueInFYUq5t9N7oEt+63M7i7dyyxs9EzOBkU ArbGV7egLoAJp7sTfXveLihirrJB3xL4sWv9RzRej/YTF7flLjTQhipRzKfekO5Jjrqn y0Ju8WAv89Oe55EhuOyH3xXAf5G1yoE3m8TCwD0RSrMJNSY9ScYvS3ishR9EhVG7aW4O jaRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=7M5LDYCyQvc7y5zEytQmAzrtLQXbTEtL7OqVO+w++Go=; b=0HhxTM6sU0EFqFJNuYGEm6iZfOctuyKwrGnJNz0rFe+UcavMfdizBqQvhHsAyexyba UtPDJKlnI+fYORJDqelkCTJ8S0SGUNtW3uXcXRcItyjG0KEsKykC9eNcmGlCZTv6Abtm WzbRKgggMYQ2Ym5mML8G2Z9arMFA51EJ48RbvZuYzn4EPTNanarSM7PtclzzbxXjF5me 1RcwTFNhSRhYwhLM/5/mnL2t0WN6ayVabu/Vnjl9N6FPI2pnghRZ1igt7PNFqm6uRo21 KU+W8zMsYkhdzg+JjyrLC0UsLnHZqlb5HB9eIzX+9pCVEGSdc9iWgX0+WapiWnRjbeBa BdtQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id c30-20020a19655e000000b004dc4c1e0df8si519880lfj.11.2023.03.01.00.18.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Mar 2023 00:18:53 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend03.mail.m-online.net (unknown [192.168.6.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4PRRvw5dMNz1s94H; Wed, 1 Mar 2023 09:18:52 +0100 (CET) Received: from localhost (dynscan3.mnet-online.de [192.168.6.84]) by mail.m-online.net (Postfix) with ESMTP id 4PRRvw5M12z1qqlR; Wed, 1 Mar 2023 09:18:52 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan3.mail.m-online.net [192.168.6.84]) (amavisd-new, port 10024) with ESMTP id TuCiALQubT-6; Wed, 1 Mar 2023 09:18:51 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Wed, 1 Mar 2023 09:18:51 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 3714A4540C62; Wed, 1 Mar 2023 09:18:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id ZGtQL-_Sd0Tq; Wed, 1 Mar 2023 09:18:48 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 9FEEA4540B72; Wed, 1 Mar 2023 09:18:48 +0100 (CET) From: Stefano Babic To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] Drop unused UPDATE_STATE_CHOICE_NONE Date: Wed, 1 Mar 2023 09:18:47 +0100 Message-Id: <20230301081847.301557-1-sbabic@denx.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , How to store the ustate variable can be decided at runtime, using the -m (--no-state-marker) switch, or per update adding the bootloader_state_marker to sw-description. Previously config option UPDATE_STATE_CHOICE_NONE is currently unused and there is no code for it, so just drop it. Signed-off-by: Stefano Babic --- bootloader/Config.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bootloader/Config.in b/bootloader/Config.in index 82e5b6e..6a6cc3c 100644 --- a/bootloader/Config.in +++ b/bootloader/Config.in @@ -123,11 +123,6 @@ choice status for, e.g., communicating it to SWUpdate after a reboot. -config UPDATE_STATE_CHOICE_NONE - bool "None" - help - Do not store update status. - config UPDATE_STATE_CHOICE_BOOTLOADER bool "Bootloader" depends on BOOTLOADER_EBG || UBOOT || BOOTLOADER_NONE || BOOTLOADER_GRUB