From patchwork Mon Jul 29 07:47:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 824 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 047233F0E1 for ; Mon, 29 Jul 2019 09:48:23 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id n9sf34267462pgq.4 for ; Mon, 29 Jul 2019 00:48:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564386501; cv=pass; d=google.com; s=arc-20160816; b=ywSk3fNqUPfXIAejk10BOzd2UEtRXgb6hLS+6/jMipKFDs9cEHwuzowdpb6Y4ukKyn NSLwW2pkozKh3Kl6d3t4DCDHZ/lp4Zk98sxa471uSbumibLKDn8/ySx5Y7SRIfuws8Cn p1egnEl6f9lWd2gTCqKs1GlSHxnyuAtn2gD2hzwvZxhsBZIH86wBhyMUoBdRugBI1Ukh Fc2ri9ZjISJ+OQPNm5Rq0VPSSlW4D0W06Dd87sglMn8YPNndIN/kUQmw43MhBDU+1dGI mXIMGWJhfq9MkrMka8lUTgHqppWeAtsLU95LektI0qRheOZ3OUFjwuJpQy7opw8xuEPO q8bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=Nn9T/wBTVSDbO6V5/zhftRrn1nj21UnAhwAquFJbOLc=; b=Y9cb/WBfEzIcCqGW7m/F3ctN0YL3hMYRtvKOG7JVGWTd53mVJToqk9UrNX2MOqcBB9 BvUEboW9DFcZCsZ0UsSGb7RDqgH+HBEOMdQITINM0/9TQ7TgAe/LRkScXOkORg9qBQVH Qkwq5u4RUxBv/0fBluW1B4kOC6bpUg1MEX+8tcIjdAkKyrRb3udK37h4un2dcb74P8WR EVjeN3QV2ibhER1BCNNPEcClE3MABkFwNBjMFdwomyPOlSB3Mn/9Cm9vr9QGU4eQ6Snk CNfujy/b+3V1aYGvnajKkAKlOTz9K8+UCPTIDO3589qSyRUnbNAb5By3iilrYaS1Nca1 pI6g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GhGoqUkt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=Nn9T/wBTVSDbO6V5/zhftRrn1nj21UnAhwAquFJbOLc=; b=C+Bm1wGgHIRbOpBGE/+ZW9kMoWhVDpKHMaSCm8qn65e6h2eliwWjPfVPMtWxVylogq 6/cSVuq/Hc1dz3Ku+eu31YVANT4vvEpsa8f1dReakzg2Vb36xBtOyQvshVrDjC+BFozj YrGXwuuLPMfABDna9XSsV70z8MPzdHixCWLDI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=Nn9T/wBTVSDbO6V5/zhftRrn1nj21UnAhwAquFJbOLc=; b=NRN9D/roWLEuj4yUq8q4P6M/cm62GuGt/5F92flur5Bry6Iltictan8N9kFn1Q3EaJ 1tJvA2Sto01KiM8raZKuP/Ia2dNmcUr3992XJhK+S8CCMfk6R6f5sWfIR/AbwF9J+rKV QpJG8DBPP1bfZZXe4nhRU12gnaot7t9RtrESj+pFXhs9ARZHGLfVoNqQY234+jWR08nA ahqrcFbI9BDXAQn48+lR1P+mJGNFx5VU9S7+sYafbP95HYeeEQcKds/K89VyIbYQFfCt xeBdOP7pMkhd15Wy0jcLQQDg3gCMXHEoIBOyIBTWlTAIXhIkZA+Ydsh/C/r3OcL+DzFE ENVg== X-Gm-Message-State: APjAAAUeGvSo60CUjfmw79G0DGrJC1WnRNgouk0/tYZLW+d64o5BUtbA W5xyqzT+SO6i9jnC6a/V6PEgx90Z X-Google-Smtp-Source: APXvYqw2a5NuKOZJ15kzWRORa6Ol2Nj5xelnAxRojyvXcqxqJbjQVmyMx7qJtIswK0KYys23ZTaZWw== X-Received: by 2002:a17:90a:2567:: with SMTP id j94mr111204875pje.121.1564386501863; Mon, 29 Jul 2019 00:48:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:90:: with SMTP id 138ls7119896pga.1.gmail; Mon, 29 Jul 2019 00:48:21 -0700 (PDT) X-Received: by 2002:a63:4b02:: with SMTP id y2mr101429534pga.135.1564386501497; Mon, 29 Jul 2019 00:48:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564386501; cv=none; d=google.com; s=arc-20160816; b=mMNRPO/GlF8MzO/J9ojMTaNWEOZ/v5UXjrdfWbA1Ogip6Af5hKgvsp919B889j+y6V XSlBU8miUYSFNzP3Ux432rQ3nXFE+9W1hZmRM6VjxBgHQ0mcJhPm1Jxx/OspVX8ENcQI Jbn5k4y1j9EEbmacrG2UfMeTpNI+NC+zwxAcyeiHP0Q3iyBh/i0lhn5opu0MJE/gd8Gg 0Rlh8ZCLMM24jIMdXF0+GmLaz1zoiXa0Kuc4PxMxlEmdp1Z1iC09Ptl5MJ4pwJ/XcQi+ uiyI6S+7pv7dJekSsgbZN+38NonJOFuX4fHp++aInifXPnt465Gkwz0XLLmsyi0zv7sN n1wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=f1CWAkaGxV+TJoP0QvAY8A3uWWMaAVYWVc4J6D/J154=; b=AJ4h4yQ+uqGbWmCdeRXXfizPBTg2C4Zogiijzbr+6xxHo7R0E5+IbnqWH6g/kH3vkk PgRuX3CJhfyc0UTrlG8333aZR2ggU7KNU4UHbiysD7tYWqAcvHU7hCRD5eE7609O5eIy zj3LevNwzt155ck0KWy/Exvblz6ZeYO0hxi/RV3sI7P4siXXTOFIJDeK6/lURhH6wE/N 7uFiwCzz4XKDI0oiMpYe6fu9pq281c+Ug5fhkDioGYZ6ExEbBngGTfQINtsKWiyl0B0O m+5IJvma0jY+gP4ydAD1ye6i4X+SmoziWXaybodONCCxhYK93VBJ9CzK54i6sHCUA5SU J9xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GhGoqUkt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id j1sor38820586pgp.68.2019.07.29.00.48.21 for (Google Transport Security); Mon, 29 Jul 2019 00:48:21 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:e54:: with SMTP id 20mr100694932pgo.244.1564386501085; Mon, 29 Jul 2019 00:48:21 -0700 (PDT) Received: from localhost.localdomain ([49.206.203.41]) by smtp.gmail.com with ESMTPSA id h14sm75723348pfq.22.2019.07.29.00.48.17 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 00:48:20 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Akash Gajjar , u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [DO NOT MERGE] [PATCH 15/15] rk3399: rockpro64: Enable bootcount Date: Mon, 29 Jul 2019 13:17:11 +0530 Message-Id: <20190729074711.16988-16-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190729074711.16988-1-jagan@amarulasolutions.com> References: <20190729074711.16988-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=GhGoqUkt; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Enable bootcount support for Rockpro64 boards, this would help to use it for redundent boot. Signed-off-by: Jagan Teki --- configs/rockpro64-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rockpro64-rk3399_defconfig b/configs/rockpro64-rk3399_defconfig index f604ccc1ec..3f1cf21ca0 100644 --- a/configs/rockpro64-rk3399_defconfig +++ b/configs/rockpro64-rk3399_defconfig @@ -57,3 +57,4 @@ CONFIG_SPL_TINY_MEMSET=y CONFIG_ERRNO_STR=y CONFIG_WDT=y CONFIG_SPL_WATCHDOG_SUPPORT=y +CONFIG_BOOTCOUNT_LIMIT=y