From patchwork Fri Oct 20 21:46:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 736356 Delivered-To: patch@linaro.org Received: by 2002:adf:dd81:0:b0:32d:baff:b0ca with SMTP id x1csp520458wrl; Fri, 20 Oct 2023 14:47:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZ/dzvh8u5eXRRpr88t3dX1ZtT+zrerWPklLQQts+HfpFrNIC7oLkVG/kqTUuNfmVwymZ+ X-Received: by 2002:a05:600c:1546:b0:3fe:4cbc:c345 with SMTP id f6-20020a05600c154600b003fe4cbcc345mr2319135wmg.41.1697838422014; Fri, 20 Oct 2023 14:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697838421; cv=none; d=google.com; s=arc-20160816; b=hGxjy6Ppe5q2/Vz8970AycuT2Jazx+FOKKxt+CjgyEjfVk6JvFin9uzGMo06jPJxxi RCFNtkWGYoguJuMVX1PNr3S4gfZKoE3danqQzaaZXYTUoNFGnh6LxSn4V5JTsntAS4yo JHz85ycMgMErb+7aDHS8BPKVvsNfnn8RqM8MYM5JKJrngA95dmHGhKmzTJDwiwIg/5lF 1p56J8NA+zAlrpyCLwIl4Dc+EVYaEF+4II/ndAAakI/tq7HOEyy3IuZkxU5xjr3ElngS VSkZkgjbjQWjEChd09fD+kO8L/X9kpkD+gcOTqiT+LI9nbvcLQs9tcAoeJZV2LrVQyXN vCWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=gPoBYuV9+bIOB/TtPPbevJ97OKA2iDpkfB97P9qpt3w=; fh=ZUQKs9GMzbh1uZy0/B+oVdbaf6yqxA89mGE6apmm1yY=; b=yermBibspbKEqE79ZCsBm9CIBzNb0MCeZJCVZiox2ZcZMBNKCVKrBQFrM7PETOtxIM TSayRkHm0D2mPIfOfVX8PfSAIiFET73wcKDbuKKsQ9hf3Zh61oYqLsfPDc6/1oHLGLcw 2PvZOKpdbil8sCQHjHh+PykynTMdaLtilkzDVqQUU5jatlbG3a+bvV0RLtKC8+ZSQvxN rYmZWnzFjB/YjidNDg2x+z8uuChawYGeEjNw7Mn0XkezIwxRkA0mEH+QnfAqFo3tK9Q8 zaTYO0UzjYN6MByv1Ja6bajZp4INaLMHLO909A4EmEK1DY3I+djSr2hyxEXDzpoXJYef 5AZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yoZfNZnv; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id e8-20020a05600c4e4800b003fddcb1a385si4590757wmq.128.2023.10.20.14.47.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:47:01 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yoZfNZnv; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9F68787522; Fri, 20 Oct 2023 23:46:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="yoZfNZnv"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 277468752A; Fri, 20 Oct 2023 23:46:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x2f.google.com (mail-oa1-x2f.google.com [IPv6:2001:4860:4864:20::2f]) (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 A20F58751F for ; Fri, 20 Oct 2023 23:46:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-oa1-x2f.google.com with SMTP id 586e51a60fabf-1e0ee4e777bso891343fac.3 for ; Fri, 20 Oct 2023 14:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697838394; x=1698443194; darn=lists.denx.de; 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=gPoBYuV9+bIOB/TtPPbevJ97OKA2iDpkfB97P9qpt3w=; b=yoZfNZnvgoH4SDrIey8gVag1/vTw7S9JglLsYcX2rl7oxgCWIESW1SoIcK3svo6SUE 59rtTfDRVZ/aFCWJJ0L+nlI/U+VmvG8DYnDbB2Cx6yWmXjoCyItAD4dFjwxDH4PSLdGv lj0rCswKgt0BXcHr8y30DhxnCpA/Yx4UcPRbhXxZjVL/GVbFr6TslnJYvHAJUrLurdVt 6BQzw3MGcgzP6F/Ffh5hBZO3DsAejF+8yX63Y7C5Qs2gcBCDPcHxHi1oW55LS/vtQQ6c VdhKVhT4vzK8JywgsZvfdjryYJzefK6YBmxrRSlf0jqIqCh5wLCah5pWfwGjW6jfgITk ZGjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838394; x=1698443194; 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=gPoBYuV9+bIOB/TtPPbevJ97OKA2iDpkfB97P9qpt3w=; b=vudP8/QbocyYfqp1WIWVCIg2b/bQYXngaYlX1CqU8cuxZxcS63V7GZlgRK4QKwwZ2Z nNcMeMOwfjDaf2OQ0pijlsfVub1f61Q6YU+52hvTDL4pkYvS02dU6geNuIzjM+Y8hzDq 756mbnTeisQMnw2rm+eFEHGE/lI40BSrL2V1G00arEIbr5wRXaYOg5VXfMhAXhkD+Q6a tTfrWImAaJ6MyQjGKdHqWeDEaci1EXUwayxOoBlcRIV0CzUYWtFSgY0zcek1X/aO7Q4+ FFpRsB106vdo5XoUW70B+7Ke2QaROlNjbEeD0mHBHUniBVIWirqiN1oEMwtIezIVgSmq +WoQ== X-Gm-Message-State: AOJu0Yzq/Z56Jwo6CMYQXd2PH9TL5qbvyL82OVNh+y2xjPPFr9rvC/9A 5TRdPly3L5ymxoHK2iM/t5iYZg== X-Received: by 2002:a05:6870:3d99:b0:1e9:de2c:3bd with SMTP id lm25-20020a0568703d9900b001e9de2c03bdmr3969777oab.30.1697838394485; Fri, 20 Oct 2023 14:46:34 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id g15-20020a056830160f00b006b9cc67386fsm465938otr.66.2023.10.20.14.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:46:34 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH 1/3] arm: exynos: Include missing CPU header in soc.c Date: Fri, 20 Oct 2023 16:46:31 -0500 Message-Id: <20231020214633.30883-2-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214633.30883-1-semen.protsenko@linaro.org> References: <20231020214633.30883-1-semen.protsenko@linaro.org> MIME-Version: 1.0 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 samsung_get_base_swreset() is called in soc.c, but corresponding header with its prototype is not included. Fix this to avoid possible build errors. Signed-off-by: Sam Protsenko --- arch/arm/mach-exynos/soc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/soc.c b/arch/arm/mach-exynos/soc.c index a07c87a2c8e2..6fe61cf9288d 100644 --- a/arch/arm/mach-exynos/soc.c +++ b/arch/arm/mach-exynos/soc.c @@ -9,6 +9,7 @@ #include #include #include +#include #ifdef CONFIG_TARGET_ESPRESSO7420 /* From patchwork Fri Oct 20 21:46:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 736357 Delivered-To: patch@linaro.org Received: by 2002:adf:dd81:0:b0:32d:baff:b0ca with SMTP id x1csp520516wrl; Fri, 20 Oct 2023 14:47:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFY7AGishE+21izrtWnQULxD5er0DPSFppGyp9i7vfWfdbjrRv6q34IGkeV43OdGAyC4hMT X-Received: by 2002:a05:6512:48cc:b0:500:b872:7899 with SMTP id er12-20020a05651248cc00b00500b8727899mr2137423lfb.62.1697838433462; Fri, 20 Oct 2023 14:47:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697838433; cv=none; d=google.com; s=arc-20160816; b=tFx7HpnPqsA1Qpl7ouFF3763027na8XLmMt+UMySs1t3F3li4q2tFnlc46LNT05SmH 5dmlB0dZ011PtlqzTyjgqTRwKwJdOUq156wybFrR1J+bXhGedvYdUis8pj7ZyL1o8Y8X 9wUzPX0t1H0AM987C6zHBFuvpKSrYIr1t4viLRf2ZbLaTOQ4kzoCOR4d3wPaPiqLteR4 2ZYydnSmbq9Szc5r1MiErcO8WeHfipd8iPPGinpDhDnifp66YyY2GKJStFLB2YtCICjq Yx3mIGkbA2WCnS7OR2QMEDJit5FJ+AVqBTmxTfKYWGdyWp3rdqGGHr//yGriFX4DPASy 2JlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=So463+mvBifKqJcHKBOOs5MUizj5x3eimJQ+Si+QgP0=; fh=ZUQKs9GMzbh1uZy0/B+oVdbaf6yqxA89mGE6apmm1yY=; b=unp4GttnZVaRwUoFkh8vqG4GcCK9UcMGpaTlDDPyIYgGlSlLPOsz7eRqM9S0bS099e bYOk+eKSJmIMg14G/LNYDz7f9cs1jgRi10ympBkJypinnXFKb/KzJr/8tZRDd5bSXsF0 ccnU7+8ykr781R4kbjQY1/kJ2g/hhQOMFz1I5RhoxD3O4PwuGtVWv6gWtHmoLdYqES+W rTewHeZ6ZdT4XIxUAwPrxLxwgSnJP0cyHL+gKtcd5p17cUX4hJSbF7HD2YHDTGuyVXnz hWi/nnzIfnayB3wKjZxqwrDsw2zEKvDW+JF7ADoBPYRPsAjLopXQh6kXCRaYUtjjzXk5 6VFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MLZYAFRE; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id j18-20020adff012000000b0032da49e18fesi1487800wro.168.2023.10.20.14.47.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MLZYAFRE; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3A46487525; Fri, 20 Oct 2023 23:46:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="MLZYAFRE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CD12A87520; Fri, 20 Oct 2023 23:46:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 E467987526 for ; Fri, 20 Oct 2023 23:46:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-oi1-x22f.google.com with SMTP id 5614622812f47-3b2ec9a79bdso916373b6e.3 for ; Fri, 20 Oct 2023 14:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697838395; x=1698443195; darn=lists.denx.de; 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=So463+mvBifKqJcHKBOOs5MUizj5x3eimJQ+Si+QgP0=; b=MLZYAFREFGa9CTBK/9WTlBnmRrPEzSdv6k17RtY6bOmmz9Uq4wY1JZDqPqgyM3K74k WLkcLznyDWH3q34UJoF99A12XRqqxq9u00OEn3+LkqdnVxiAHLPqk+zAo4fSANPnWqE+ nlyW+G3dtpglmQidkA8DemkSw8KSQIVFoip5GHPiK3pAWuCDKuWsX686kBQVDnMb/650 bByzRed4u1bp2d8lnKOB3lYaiLb9Rpsj/NH3FcLjzAWX3tHZhP+Rb2DSq6Cbol+GBuPz WCzqiM14P95PM/VewoejyHwtous3IzpLr8KugVdEZZlRMyrQzt6zlIJOS5eLilsIZzEV BuJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838395; x=1698443195; 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=So463+mvBifKqJcHKBOOs5MUizj5x3eimJQ+Si+QgP0=; b=ppBwXwJ/gIluTXeAtu1u720QPbnO3tc9KxxdMiWacHPS5Nz/M6rBb6uxcsRP4iO8Xx AEliYtkzxRnQD8DiQr2OX2r5LGu/AvWQKuCI6AckjlT7Bu03dPUsoYN4kz3zLg1tve59 dDhRahe4+rhn9iiwFfe7UgmKoBR3nzFEJOGXz7ECXjwCwvlfHm8asLoIrkJDyvs2qkS5 pCpC7HKDYUx/s7dwJv+K9MIkPNRv5R4ocyUqo02rYJ9+LGrS0C7QAsoq2QZGyG16nPQg T/FUTUb6CmyZWf0hUk/unGitqyMgCZlADlqxdE7vGL0NZWLuiaDLdtNZSAq6yfQBnGwV XtAg== X-Gm-Message-State: AOJu0YyQPnzKQGOHjmwE4MEDHkVXInKhjru4hYQ5lVKCr0JzA0Nwo2QI vbVxrk+MootwAJVDL8Drfx649Q== X-Received: by 2002:a05:6808:f87:b0:3a7:2690:94e0 with SMTP id o7-20020a0568080f8700b003a7269094e0mr4152815oiw.4.1697838395211; Fri, 20 Oct 2023 14:46:35 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id bh29-20020a056808181d00b003a40b3fce01sm484223oib.10.2023.10.20.14.46.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:46:34 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH 2/3] arm: exynos: Include missing CPU header in gpio.h Date: Fri, 20 Oct 2023 16:46:32 -0500 Message-Id: <20231020214633.30883-3-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214633.30883-1-semen.protsenko@linaro.org> References: <20231020214633.30883-1-semen.protsenko@linaro.org> MIME-Version: 1.0 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 arch/arm/include/asm/arch/gpio.h relies on definitions from cpu.h. Include it explicitly in gpio.h. Otherwise next build error may occur: In file included from ./arch/arm/include/asm/gpio.h:7, from include/cros_ec.h:14, from board/samsung/common/board.c:8: ./arch/arm/include/asm/arch/gpio.h:1357:4: error: 'EXYNOS4_GPIO_PART1_BASE' undeclared here (not in a function); did you mean 'EXYNOS4_GPIO_MAX_PORT'? 1357 | { EXYNOS4_GPIO_PART1_BASE, EXYNOS4_GPIO_MAX_PORT_PART_1 }, | ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Sam Protsenko --- arch/arm/mach-exynos/include/mach/gpio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-exynos/include/mach/gpio.h b/arch/arm/mach-exynos/include/mach/gpio.h index f9975d7919f2..9eeeb7699963 100644 --- a/arch/arm/mach-exynos/include/mach/gpio.h +++ b/arch/arm/mach-exynos/include/mach/gpio.h @@ -8,6 +8,9 @@ #define __ASM_ARCH_GPIO_H #ifndef __ASSEMBLY__ + +#include + struct s5p_gpio_bank { unsigned int con; unsigned int dat; From patchwork Fri Oct 20 21:46:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 736355 Delivered-To: patch@linaro.org Received: by 2002:adf:dd81:0:b0:32d:baff:b0ca with SMTP id x1csp520443wrl; Fri, 20 Oct 2023 14:46:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEds2Au8By78ka53ofvmXmNASlMcssiGtqoq165L5SE4u32mTlN2R2IfyAPRslVj8TDqZnS X-Received: by 2002:adf:edc2:0:b0:32d:a57b:8c8d with SMTP id v2-20020adfedc2000000b0032da57b8c8dmr2334040wro.69.1697838418455; Fri, 20 Oct 2023 14:46:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697838418; cv=none; d=google.com; s=arc-20160816; b=G9Lzn+mC0JWPtPEwPMHFLg/4ubKz4kxARKWczAk2FNlwF4fZ4BkwuTZRtKSZ1ecQYq YcPxVqa6hSrwPk5FYAzTmo4hPOXUYs8XwLtIQGEmXp9MNlnMYclXYqkM2aqTluGhmYPL EgrL4tAogcjlgaXOS0Hu83Tez4WP3AkvQjq83atW3PyhqUgmhI1+5BmyjExS0rZ5ZdKY IvPwXsz3QmhcqIf3QbG/2BXyZDovXrjx0NPt2yxZdP707gw12yOCKzYGjmlzhFLzwoII iw2qljM9C7V5E+FpAEgwPM6n9KrYwVJRr7HbBghDqNcLlXc1+AJfje0R//N/rNAfDHGo Ks6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=CuKxXGX80wC1clbvUNIGZqrPlS4JX50n79XrYCQUpho=; fh=ZUQKs9GMzbh1uZy0/B+oVdbaf6yqxA89mGE6apmm1yY=; b=MX8LkBmndOPhs8ea8n71LVFJKsOSrjlaDAIj1M5M+dhRofj2A7kC5jj8hc6qilfRFG 8fmKUeTbUJNzTVN7Sk7lbrYDoUUGNoBwOn44DEl//6fe4LLb+bbDv167EW7jObbMRCf9 C5mZNHVaA12Li9fLYoHWKk6kP7zzgpBrCwleS3BOzT43MAxXXfHnTYNntiSM+CDNtS6x zSjCmaIrKkNTcBqMKQOICuICNkxG2QEc1K+2DYOdAHq7CS1ZKtwDJqghQ13blGj3cbl0 YJbjN83oXL6lNeoTypxmJBlDMQTCdZB511P0iu9qUc9GZ4MR3Em0hSt6XXfp2woiknFY Z7lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mg6KxF8e; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id l28-20020a056000023c00b0032da2c586adsi1551872wrz.112.2023.10.20.14.46.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:46:58 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mg6KxF8e; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EF57787526; Fri, 20 Oct 2023 23:46:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="mg6KxF8e"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D9F5386F46; Fri, 20 Oct 2023 23:46:43 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) (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 E42EF87524 for ; Fri, 20 Oct 2023 23:46:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=semen.protsenko@linaro.org Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-1e993765c1bso891573fac.3 for ; Fri, 20 Oct 2023 14:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697838396; x=1698443196; darn=lists.denx.de; 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=CuKxXGX80wC1clbvUNIGZqrPlS4JX50n79XrYCQUpho=; b=mg6KxF8e/Xz5odcWf1nb6Bj5c0ndIcnVZ1K2bV9G8cLwpU2e7X8qPt+Ppg/wpZ/9l2 n/gJ3kwHeWgWm5i3ypPTWelMPigss/s4nlJXvLv0Z2ECovWplgIDXUOl/R2hcqqeEVPa fI9PrIeLy05RCR7RgjZzPVCGUF5Y+TQDNf86pxoN53JFMBIIoPnbuAM+Afexbijhs9GA vW7/dF1AoPnk9u4d/HAxom5v8epo4YbIWIqfkmlgJ0LdWoyPHD753wY9RUfw+ThC7D5Q teUQBLTM3vygKO232G8VXHtzM3JiTHjJHZyewJVTgRaTp0RGa6KwxIZP8UqAr33MElx1 pOdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697838396; x=1698443196; 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=CuKxXGX80wC1clbvUNIGZqrPlS4JX50n79XrYCQUpho=; b=l0goiCl9cNHS7ri4d5Y8mKKn+XrgiWl0YGxLwNJSL+/SwNLVfQjcAmAodo0P8ckauf CMbLaRc+QyGiLFhaiY+FB85NFoH14KmILB6WRt2V4KPpdMh+m717cXu5tRNFrT5hc3S1 PalptTzj8uUsS3GlwQpFoRoVB7deMlNHWg0bJompvo5xltDNosoBfb3N5nKF6EWAnwb/ DTL2tLOBZCcdSr9h9ni67fdWfLqSCKZY7G/lw/iL/C+5fFx35xCwhC4zyr+Efsp+jtu0 ejD4VdDf5S0RFP3tTt4vBoL6KJ1Mzlm1TGmr0NKu7oa+SYKzyC6uJpnHuMZ+G8yiLcyn JmEg== X-Gm-Message-State: AOJu0YzrRuOFX+g9o2xCoMwomS5i8YsIhS43tryCV7oKgUtMoukX0nxZ svkp+DFMMgQbmA1hZRmRTKxmBwa6ig982NtZLZQDCg== X-Received: by 2002:a05:6870:2216:b0:1e9:b82e:ba29 with SMTP id i22-20020a056870221600b001e9b82eba29mr3581652oaf.24.1697838395985; Fri, 20 Oct 2023 14:46:35 -0700 (PDT) Received: from localhost ([136.62.192.75]) by smtp.gmail.com with ESMTPSA id s5-20020a056830148500b006b9443ce478sm467654otq.27.2023.10.20.14.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 14:46:35 -0700 (PDT) From: Sam Protsenko To: Tom Rini , Minkyu Kang , Stefan Roese Cc: u-boot@lists.denx.de Subject: [PATCH 3/3] watchdog: s5p_wdt: Include missing CPU header Date: Fri, 20 Oct 2023 16:46:33 -0500 Message-Id: <20231020214633.30883-4-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231020214633.30883-1-semen.protsenko@linaro.org> References: <20231020214633.30883-1-semen.protsenko@linaro.org> MIME-Version: 1.0 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 s5p watchdog driver calls samsung_get_base_watchdog() function, but its prototype is not included. That might lead to build warnings like this: drivers/watchdog/s5p_wdt.c: In function 'wdt_stop': drivers/watchdog/s5p_wdt.c:16:26: warning: implicit declaration of function 'samsung_get_base_watchdog' [-Wimplicit-function-declaration] 16 | (struct s5p_watchdog *)samsung_get_base_watchdog(); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Include asm/arch/cpu.h to fix that issue. Signed-off-by: Sam Protsenko --- drivers/watchdog/s5p_wdt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/s5p_wdt.c b/drivers/watchdog/s5p_wdt.c index 5ad7d2609f04..80524a00101b 100644 --- a/drivers/watchdog/s5p_wdt.c +++ b/drivers/watchdog/s5p_wdt.c @@ -6,6 +6,7 @@ #include #include +#include #include #define PRESCALER_VAL 255