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 9716DC7618E for ; Mon, 24 Apr 2023 11:12:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8206286043; Mon, 24 Apr 2023 13:12:29 +0200 (CEST) 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="kvVHiA7n"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1AE2E86055; Mon, 24 Apr 2023 13:12:24 +0200 (CEST) Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) (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 2343286025 for ; Mon, 24 Apr 2023 13:12:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=festevam@gmail.com Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-188090ebf84so695289fac.1 for ; Mon, 24 Apr 2023 04:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682334740; x=1684926740; 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=obWz1+5WIl28xOXJ+fdbnrxU5KC4EnCBlRYScl3ykiE=; b=kvVHiA7nJ+vBbdFHYkPFlZkEUiBPd26XEi2lwsyP87UOdEZQYd+c3AajYs7z3N3dd9 sDsPPaeztvUC16LxH1sg6qvWAfNeaHco/StPrkns1w8ELnqRmfgPLEYVpvJyeuotuCIv FIMdKD4pOUeEyuZuWDtQ/b5XIvuVZtViZLafkNVRZGwOGTYb87jBWvJlClO1egrD73SC Ngr8/cL6R1uobBCZ9e8r+z0Y3GYKT8EqIeWkS0qSZuLKXcb+buH5QcjwsrWmX27pdL2l SblD0UPculg59/9jHFMGpJjevO0SrI836b8NVRmr0wa7Hr7REcLWg8ESBEtjQ9R99Lmo 4J5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682334740; x=1684926740; 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=obWz1+5WIl28xOXJ+fdbnrxU5KC4EnCBlRYScl3ykiE=; b=Wwgg2DJsT1xJL25HLdwmg8oRKp5LBoDhS2nPe5D3RDZF2S7UiTDycxBT01lGu8o4U6 3oGT8yO5kgfHL81fBkiEMhjNUPL80yI4LjjcugWrI978D/RGlqZ+/N26ziUchrSki7BM bVoiROOmW9Y4Qz3tt0ARF2ohIcB04LCh8pciOsZZDB9KnXKuAmqfdE+QG4UmtEhNlR2M bsXdYSjrs9NyMre2RsFfgqE65HS8+XZ0UA4XyG7oP30z0lJ9XfPjVhqkn8muhyVb1xFx EVnLgATMqW7CsMQ+h7XE+aAEDGvANXbDc7C4FZ0trCikMX1ZR0BJXzKMwDsJMutMw1KW N+WQ== X-Gm-Message-State: AAQBX9fYaC4uhg5HrUhUtAo87lURolHa+D4OMRz7FeCcm3jnXbJPHGBm 9oAOU4Dx2BBDZEq8Vm7QAIw= X-Google-Smtp-Source: AKy350b/33vZeIBDgDOo/BoqwsjGmo+XQxolZ35Xy++VsgntvjcI5eJHDqnLqKmR4wgyJrhe+DidPw== X-Received: by 2002:a05:6870:b419:b0:187:add0:94dd with SMTP id x25-20020a056870b41900b00187add094ddmr9011971oap.1.1682334739680; Mon, 24 Apr 2023 04:12:19 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b69:1d84:e533:11fa:26c6]) by smtp.gmail.com with ESMTPSA id 27-20020a4ae1bb000000b00541fbbbcd31sm2294678ooy.5.2023.04.24.04.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Apr 2023 04:12:19 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Cc: eduard@lionizers.com, u-boot@lists.denx.de, Fabio Estevam Subject: [PATCH v3 03/13] smegw01: Select bootcount support Date: Mon, 24 Apr 2023 08:11:56 -0300 Message-Id: <20230424111206.1438983-3-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230424111206.1438983-1-festevam@gmail.com> References: <20230424111206.1438983-1-festevam@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.8 at phobos.denx.de X-Virus-Status: Clean From: Eduard Strehlau Add automatic boot counter that increases after every reset. After a power-on reset, it will be initialized with 1, and each reboot will increment the value by 1. By default it is disabled if bootlimit isn't set. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v2: - None configs/smegw01_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/smegw01_defconfig b/configs/smegw01_defconfig index f15291f1dd..5d9d419463 100644 --- a/configs/smegw01_defconfig +++ b/configs/smegw01_defconfig @@ -46,6 +46,8 @@ CONFIG_SYS_REDUNDAND_ENVIRONMENT=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_BOUNCE_BUFFER=y +CONFIG_BOOTCOUNT_LIMIT=y +CONFIG_BOOTCOUNT_ENV=y CONFIG_DFU_MMC=y CONFIG_DM_I2C=y CONFIG_SUPPORT_EMMC_BOOT=y -- 2.38.1