From patchwork Mon Jul 29 07:47:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 821 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 0E06B3F0E1 for ; Mon, 29 Jul 2019 09:48:12 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id t19sf37703083pgh.6 for ; Mon, 29 Jul 2019 00:48:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1564386490; cv=pass; d=google.com; s=arc-20160816; b=w+kM0o/k2Fm8W1sdhxDAhCe0TrhITJTfT2hmEy3VQtVTvUE124cQv+L6vTZIN8gUH5 yPG1v8HMcJzPUJsAPun2cNlcYYUoajUH+QEibrmqquv4yJnipLJspZ4NdwojaUAe1SUN 9crjh9Ry5F377FB24jk3lguvrBe8EHGho0QWocqOD2Lon/LTqSeFzZLdiuQXLxyy+Udl lMW6tBISYX3JD+7pPo8iXwx6kVnwP7B/l1ywS06FB0t17CX43e/19M7I8pFB5nf2cjOJ pWD00GN7niq2s8MAiMW0Oiv/650XjZtuexwNvPPXn8pxWlw0avwTBe+9OuvSw6Xh5/Wt yjEg== 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=QFXuDAiHK9yIlgntH28iYxt0+qLLTx9Ny8SQMgS2ZDc=; b=ph2cGyKIsG6j8tAkOf6lFKWrDlxc2yzJCXwJGo27LDB6d/E3oqXJmjL/aRA0PdQ9Dn 1aV8wlwu7neuMHR9I8jQ462qI4+BbAo57+g647a6kj7W18YhE3CWH2IF0H2M2/5PvuVh AWWOKgoAmpALAGR9XkSOSnoFAUwsMXKA2fNeLXqowbkE1A+nVvyakAXtJ56ymddplNjP EyPd38DJjLmOQIIoYVkUDBTPcP3Tl5S5dNgDG5wZc5H1oCwE1Vl5eSteGK/+ESoWBWeO xXuT/LMjk4Gds2acRdtjYaRPJm9ypUnhaubvjcrpOigJz1rilwbtHheVpk4HunG6EFCC R4AA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JES5mUdc; 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=QFXuDAiHK9yIlgntH28iYxt0+qLLTx9Ny8SQMgS2ZDc=; b=V0QXATinNzPhqPv4MmtkxYio6FxT37O0/zmp0eKSy7osb4c4smLu6TmtduEZqTH9ZC l4oRC9O+4f1lSYId99PCxNt0dobF9T2jF/lF0X+4KryDhaQllxdluUpxrMVF+LDc1ttK p5ZojxN5HBMqEga+9C5ZwJcbWgThLMVP4Y3tg= 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=QFXuDAiHK9yIlgntH28iYxt0+qLLTx9Ny8SQMgS2ZDc=; b=IXdXt29SmFGLIx/Y3HtunKdZtPZzeCKPRmw/aw3sAWb/EReFnVR5dGXJp2dCC5Gsip YYj41hBg7OBytogvTSYhVjXdzg6Ay2TScoClzid+w86MD02oTfYBitc+CWVy7vZJGVaN HREiP8SL7JNdQXFi/MCxXK+DXY4iQF8p/1pLWJy3a592RBn2nnTsFJHe2oO+P6ryBSuc lTpUqQEhSVCzCZ6zln/k8SZrgJ3gsdPBoXY6OMp3FzvHLCo9ChL8ZftuBuaceujLuw5y YQaHlW3crgwIOvVO0GoqNwoYt62ZV3aa1jhwNUQHU5ddAC922iQ/2MZaREUxD2VsMSoJ ubtw== X-Gm-Message-State: APjAAAU/uXoSC7FAydFH9avrWv6onR3QK7ttmuXEFWj7BwvagwS9tM+x 3n7wNmGeqb/MnUzTQsgkU++3Jrci X-Google-Smtp-Source: APXvYqxKxxZ8fTd8S2Jr4KHw2Sg0Xqcbyp1cgvipxY2ru0vOOJsVT48vAYVIjzlIeWliH5K7OrFNSg== X-Received: by 2002:a17:902:b08a:: with SMTP id p10mr110011885plr.83.1564386490908; Mon, 29 Jul 2019 00:48:10 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b402:: with SMTP id x2ls16898581plr.14.gmail; Mon, 29 Jul 2019 00:48:10 -0700 (PDT) X-Received: by 2002:a17:902:9f8e:: with SMTP id g14mr62946397plq.67.1564386490583; Mon, 29 Jul 2019 00:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564386490; cv=none; d=google.com; s=arc-20160816; b=ufn2qXe+m4G6N8IqM24ZVhr/7LLk/Q42Wdn4AeA4ChUJHjOXlRV5xAxHvBmqavybNL kwAcjCI500SrA9qdVoEUahdi5OuB0AyUp/V3J2oB38S1YKZ4fi/Y8Un1jBI8ZcVbak/H z7zg8173ezXDxy8rDFQG9GZHeve8Wksz5NTciWBEqRi/FEWg23qtdgmhzphP65fX70zA a1dSJbRcdY7AHMFn129P9OMJSfFbooxlU+GS0q8XaIIKdlzejxAFKxi9lLlhNvEo0v3V G4oLUb4vF8hL7o3gmrc0jb3jbaDfy8qr6ezyq/E9NLDj1FdysQLWba0hhGD4U0hYi7jf WpMA== 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=UnjYrJEzucsxijDaLJ3Qy03AYryDuOEPvq0xHZN5TzA=; b=f57O8JnafObrYcqMutvm9KfIAxkdHB49I4vh299HfclcklicY9QF0CsMVpoKuwBs61 sWctuXbToTpZKgQpuvfB75mJpszN6+cUYs47tuuNzWOfDjt+BnPOwrHD1LHTdqHY+t8Z D4vKQSQ6k9WxGr0wuqUTAopDx5H/JhbRJA+aXqcl048luMN1E8h1GwQ1zM5bgPdzxay8 rU6o277gTmBSnj0oBVH7Xxbb650fa6AkzHFpgFDdoWU/V3xaP0oc18hJyEfR1YmXFbMF yC0RX4adApJ2vEw/V2jbrFJKN1yHKxB4JyDnnN9PnPTUNA/IiKsIACRU8DZVgjwaxwLo F4Xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=JES5mUdc; 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 m10sor72173097pje.25.2019.07.29.00.48.10 for (Google Transport Security); Mon, 29 Jul 2019 00:48:10 -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:a17:90a:b903:: with SMTP id p3mr108891521pjr.79.1564386490275; Mon, 29 Jul 2019 00:48:10 -0700 (PDT) Received: from localhost.localdomain ([49.206.203.41]) by smtp.gmail.com with ESMTPSA id h14sm75723348pfq.22.2019.07.29.00.48.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 00:48:09 -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: [PATCH 12/15] include: rk3399: Disable watchdog in TPL Date: Mon, 29 Jul 2019 13:17:08 +0530 Message-Id: <20190729074711.16988-13-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=JES5mUdc; 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: , Disable watchdog for TPL, since there is no support it. Signed-off-by: Jagan Teki --- include/configs/rk3399_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index 8df0180284..67b48e03ba 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -46,6 +46,11 @@ #define CONFIG_SYS_SDRAM_BASE 0 #define SDRAM_MAX_SIZE 0xf8000000 +#ifdef CONFIG_TPL_BUILD +# undef CONFIG_WDT +# undef CONFIG_WATCHDOG +#endif + #ifndef CONFIG_SPL_BUILD #define ENV_MEM_LAYOUT_SETTINGS \