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 077FEC61DA4 for ; Mon, 13 Mar 2023 18:26:52 +0000 (UTC) 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) 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-Google-Smtp-Source: AK7set8Haq7MDA3nVrjXHgF5a5Q63avveeN0p1VDc2XFYlx7FFdVdS4CH6hfEvsY4BNjOIP2wUfFfQ== 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 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 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 --- 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 -- 2.39.2