From patchwork Mon Mar 13 18:26:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Liu X-Patchwork-Id: 662694 Delivered-To: patch@linaro.org Received: by 2002:a5d:5602:0:0:0:0:0 with SMTP id l2csp667498wrv; Mon, 13 Mar 2023 11:26:53 -0700 (PDT) X-Google-Smtp-Source: AK7set+EsoWhPARc7szjz9xZvFgK79cRSiwLr35sluKwkOtYd0HTy95ori47pzDzIofmABBg4mVw X-Received: by 2002:a05:6214:20c1:b0:56e:9ef7:e76d with SMTP id 1-20020a05621420c100b0056e9ef7e76dmr15636791qve.1.1678732013660; Mon, 13 Mar 2023 11:26:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678732013; cv=none; d=google.com; s=arc-20160816; b=xlSLtNmU6XhbCTTzL3M0HyccaB0eb+y2vyQ7UhvEdB1wQStQr6b150/AWFyd3JkF3U /ftR45OhLcgXybi3+eFpY7IAToqvU34TJnBaCL1m+yhb3kqUqovfOKguZFuqQysZB/41 QBz/KH+AOyeb/9pxMlsFPv7FWO6S+lLkeQb6P7xh+1z0sXWSDcbkbF654DUR3TA1BYZ3 6223diEgDlfZlQHcFCsRXJewvF0lVEnbfx7d2L3zmeE2wQ7JSSsnksIZuHZRh9mJqWon 6raEbnJKxtmLXXJVDcWJY3DNrDtuW5S4CHOMwNkX4Tt2t6gr1h8shagb01OIpXDipHnV 0FHw== 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=jeequOvZ/uLNf+YSHmFolZ0GykPWaqQDlmXlFacIGX8=; b=HjRz12xfIQWNrZJzDyINtippjpnErOqdkkTALeGDtmxxkEka4QaSKsgZQRt0K0p29I h/cpXgxMX5h4jmYoOeb0BuMSH6W1CPgKwRo6tVa1D1MI+W76eUGvjQ3+bYwnYmUAX+UV jeC0FjrsQTnEgECpqqbPh/tX1rklGzaTaAqzqYWaTfBbWLwOooVSoQvShT80FTUDdRZW x4ZHJ3uuqZIZxuHJiiG5VEU1zdxWFdQVhmkHLdgYWaLZ1wRalmekadDMNX2tH0T9s12V u83x5GEWyhhpl9G0VR0YtHZYD3Itpl1bufTSNUW7P2wwv8HFABbmmkMz4cN1B7Guf9Gu Hc3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a+yyUIXk; 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 d1-20020a0cb2c1000000b005a2e5eebbc1si179280qvf.434.2023.03.13.11.26.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 11:26:53 -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=a+yyUIXk; 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 5D3358587C; Mon, 13 Mar 2023 19:26:39 +0100 (CET) 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="a+yyUIXk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 64CB985AB4; Mon, 13 Mar 2023 19:26:35 +0100 (CET) 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-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 631988587C for ; Mon, 13 Mar 2023 19:26:31 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=paul.liu@linaro.org Received: by mail-pj1-x1033.google.com with SMTP id rj10so2378936pjb.4 for ; Mon, 13 Mar 2023 11:26:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678731989; 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=jeequOvZ/uLNf+YSHmFolZ0GykPWaqQDlmXlFacIGX8=; b=a+yyUIXkhRrom0L3O2axNOrl3HD+rq419nSieSyuIWJohtEZWpnlo8VmbUCThjSdit rYSjlg8gJuP4SpSbvrlXgZh9QBuiZk8ta+xuzi+cpcW3aBpKM0wJCAI1cICrg+EBs3T3 lA5c8/mbX/SfTcoJHLj790zEKkYrBXvqo+W4eC5d8XN/GIEJ8mlLsNaBOhvXnLkcQuM6 KHHwiwhJ5z9QO6RJPYnHUBiZIZwMIX4Ymah9goPZK5YWKJeF+8j0aTjDWBxlD+V6PzEI HLI86Jql8OxuGBxINVgSQ61zJJlqr8LFqk3O/X3Jiz21Z1z+W0IofI85Wmh0NHqBfSYw fF8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678731989; 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=jeequOvZ/uLNf+YSHmFolZ0GykPWaqQDlmXlFacIGX8=; b=jkcSQqt8EaaErjcVnocHldYobtBU83HlnDtqy36gqcDx1X23uV7mxN8hm4KGz2z3rZ L2mE6zNvmmV37Y2zYXCPHc5Ujclf/APrVYMTAByfl7TK0XURIKQHc3Ngme740L94d1IY 7PTea1uZWDR+aRYbC3BTDjLcSFReDx1B+sFpmq2QhCxn9zLHVYm7TSY5HwokS/YLlEcb SgPWLcZTRxHaneOwXw5U9QYApmG19dns2sSpJWxsZSAru1vSlCu/yZTT2eM93woo0Zbt kCQC9L+Z/S3mZDrmxlyZVutQQIAQ8mfcLSiz8jJRY7gi7k8dQVRHHUN3R3AGp/UPb5XJ oJmg== X-Gm-Message-State: AO0yUKX1Mj7nHTeirVG84kX+6Wu/nKl2bHDdZg8jUrVzw1auoVQgLQGz iXNbmURAKBVWNg6HXPz4YQUwnyBgs7X13owwN70= X-Received: by 2002:a17:902:9898:b0:1a0:44e7:59dc with SMTP id s24-20020a170902989800b001a044e759dcmr4072554plp.40.1678731989646; Mon, 13 Mar 2023 11:26:29 -0700 (PDT) Received: from localhost ([111.184.129.17]) by smtp.gmail.com with ESMTPSA id jb12-20020a170903258c00b00198ef76ce8dsm202461plb.72.2023.03.13.11.26.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Mar 2023 11:26:29 -0700 (PDT) From: "Ying-Chun Liu (PaulLiu)" X-Google-Original-From: "Ying-Chun Liu (PaulLiu)" To: u-boot@lists.denx.de Cc: "Ying-Chun Liu (PaulLiu)" , Tom Rini , Stefano Babic , Fabio Estevam , "NXP i . MX U-Boot Team" Subject: [PATCH 1/1] compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h Date: Tue, 14 Mar 2023 02:26:20 +0800 Message-Id: <20230313182620.1153143-2-paulliu@debian.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230313182620.1153143-1-paulliu@debian.org> References: <20230313182620.1153143-1-paulliu@debian.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 We have a few places here that the function declarations do not match their prototypes, correct them. Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Tom Rini Cc: Stefano Babic Cc: Fabio Estevam Cc: NXP i.MX U-Boot Team Reviewed-by: Tom Rini Reported-by: Tom Rini Reviewed-by: Fabio Estevam --- board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h index f7d4fdc101..508b4a565c 100644 --- a/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h +++ b/board/compulab/imx8mm-cl-iot-gate/ddr/ddr.h @@ -25,7 +25,7 @@ struct lpddr4_tcm_desc { u32 cl_eeprom_get_ddrinfo(void); u32 cl_eeprom_set_ddrinfo(u32 ddrinfo); -u32 cl_eeprom_get_subind(void); -u32 cl_eeprom_set_subind(u32 subind); +u8 cl_eeprom_get_subind(void); +u8 cl_eeprom_set_subind(u8 subind); u32 cl_eeprom_get_osize(void); #endif