From patchwork Mon Jun 17 07:31:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 610 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 60BFD3F353 for ; Mon, 17 Jun 2019 09:38:33 +0200 (CEST) Received: by mail-pl1-f198.google.com with SMTP id f2sf5490722plr.0 for ; Mon, 17 Jun 2019 00:38:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560757112; cv=pass; d=google.com; s=arc-20160816; b=VQ9TiHVZpTM/cvVeIkYRBIKuKxmKcst82G1le4WMdNjFirZXnL8+2H5sDZJaZmee8k 3fiHNsXJ2/i8M3rJQdxbCTnX70TqJgVCvgliFzfUMS1VsH/WQObp3neZRI3XCYN0kCGD 1CmXOULBZUiBgDzmTzVQJMhi1DaC/VXSUv/urzpTlmltgKfY43Mku4o3IG/HlCviWyJC F5O0pBMZ4HWntoqUPFcI+jr0jg0toGGzkSSbDpmu7Ed/4PWgRjUbEuBkpOqC6P5b45Nl 9cYh9vOWR/aG+yaP9qCCuj4kbd/7KD4XnskazH2s7L27ztlQ2ZuzHEc+V9IPAwwTtaBB Hg4Q== 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=gOkmVu5hDD6vGQuSu6Xupg/EUlW0P69NVeWutpiveGg=; b=AP1G3UD8gpXuaUyNNXn5x55Q1Epo+OlzIZyDwdlfZHHf3lPdWvxWkOtL8LoC1xNTpz r/PTSilS5f0Ebv4Wd9hZj3v1gvPn1v2jPsQQ8JeCsQIPDR036XPyy7GThBifEgj72Usa DyqoNEUtHZNSp50udlvU49//RU4SnKrvjky+c0NQcsTxvLHMzAmZJSqTluQJOLBXn1dk fYDnQmReNcuZ7g7/bCs01jJSUaA+JDCtxTOkEADZrlBWUjhx6WdW+r9P/2haOSklQiKX D7+uLEk+yXsWjswZej9noiZHL/pfqMMcPM/oxhCZV7thJGt9rrL3Qjz2Il7bg/AUaQOC NXUw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lb4r9roF; 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=gOkmVu5hDD6vGQuSu6Xupg/EUlW0P69NVeWutpiveGg=; b=SFXLLUPwx2prHybAnPvVCxwQCY5biW2m7PmbT5uUxTMWc/QCWr+icoNduukPZZE+OR YGMcCayTRf/eoTJCdmxMXooMFLs4Ub22w0K2gFHG37y0F+5l0FCnI9uNxhhbkJ0IS+6Z eGmOCbEM1WLDtgINyv+BsB66kWgzMadh37y9Q= 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=gOkmVu5hDD6vGQuSu6Xupg/EUlW0P69NVeWutpiveGg=; b=PeVvtKVEQHwJyS25HasBEesrkauc5HXtED5fqG2Kui0BmWGhlHeYQQIUYUemC60FC2 PDNv5rjEXK+O0ivi+bPqMQeFYpfW2nN2PKv942q51+FTsgYexD+IhxTG8TqMUmySYCmp StpnpQuWcl2ud2Mc6pnS/O8IwqpP2+k9q29cRE5xF3PSXSs7jQ1ae2Qx3IZSCo0lGLF9 xtCbum3AXRzp0w6u13erZk93UyxSyDCtQwd5MlhK3BJuZslQzGk6IdLNecq+Cv5W1zU/ iopqTakECEDjM9zmFM9l3b6l7zRJT+h+nxM9ST6DN+VO2OkOodp5vRJnvx2sGuIW9iPl EO7A== X-Gm-Message-State: APjAAAW3slM9G1xInq9cey1QpQIj+aN1TiYJ/U3KrlVB1Psd3/xEx7tU uzrjwjHUepQiJ5iwxpQ8jMZVRP7Z X-Google-Smtp-Source: APXvYqyWp0/8cziaoDluqyiwpp3OJjjFOz6SLuVZDd2Zaembo3llFCVoLjUjE0KJ9HDx5AFR7wfwAg== X-Received: by 2002:a65:418d:: with SMTP id a13mr28886549pgq.332.1560757112133; Mon, 17 Jun 2019 00:38:32 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:52d2:: with SMTP id g201ls556399pfb.9.gmail; Mon, 17 Jun 2019 00:38:31 -0700 (PDT) X-Received: by 2002:a65:44cb:: with SMTP id g11mr47278110pgs.193.1560757111775; Mon, 17 Jun 2019 00:38:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560757111; cv=none; d=google.com; s=arc-20160816; b=PSvYT1c6zqhEkfoS3HncE1vfTqZ9FYTrUUYNDzXbkVRlxz4t0E9sA7r3yR5g91NIWe uk1Gu54V1MXQ5bN5Y9M/kEwU4LAXYtEIapXb63z7BUfmpHc20lpstt7v1sRUUqtpPkCu rMh+ZYIoV7r+tRRRecwLQ7P8FdOcnLo9uNf1apagqXKwrX0tP57Qpx5XzeGy/HEUwH6N JShi35sX027nnL8NqWNkuoE5L3+WxhL1ehXejf+zxWA4bDEhFjJKkF66n3VWZsAO7/kn wSMbUxNlEX+v4AKusXGCyBXwZu9VEX0QFvCFaEYzm6iCBVZyAd8PSmxP7DhlyhVPxyBo C9Yw== 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=qgL2FaT1eaStfsj3hGDtJf5kpFbPRE60ag+y7zGYXwk=; b=u6F1eeo5BLQb0C3J84W/iyFB12cyQA/LdzoYKdKuvbLKp0Slqoz/OYBBbwshy/hv97 XFjz8EhhlEQGR82YMZcszpFPo7txGXi/uUkcIolQeZmHEBLU0Y0CwUs/7C4mU0vqU09P KvxL7AQBWYFBkZolh40L14iq+JOke0G6X/LvcTw14ATk1CZd0V38nhARCpQjhA7BwqSR loPIcqTh7zQvLUye4efGz97IqmZEEMdLSuOD1Lj9526iUXz+Bf6aJBYnwyCPSnUTf+7J 6IV6yNK9YCIZERdCjza49xshLvNqp1YRmcYjYDmaBCoF4kr0G12Q52MxiOidcm8EjMpF RsJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=lb4r9roF; 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 u30sor4923380pgk.73.2019.06.17.00.38.31 for (Google Transport Security); Mon, 17 Jun 2019 00:38:31 -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:2ace:: with SMTP id q197mr47314797pgq.102.1560757111428; Mon, 17 Jun 2019 00:38:31 -0700 (PDT) Received: from localhost.localdomain ([49.206.203.245]) by smtp.gmail.com with ESMTPSA id m41sm15205998pje.18.2019.06.17.00.38.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Jun 2019 00:38:30 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , YouMin Chen , u-boot@lists.denx.de Cc: Manivannan Sadhasivam , gajjar04akash@gmail.com, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH v2 39/99] ram: rk3399: s/rk3399_base_params/sdram_base_params Date: Mon, 17 Jun 2019 13:01:52 +0530 Message-Id: <20190617073252.27810-40-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190617073252.27810-1-jagan@amarulasolutions.com> References: <20190617073252.27810-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=lb4r9roF; 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: , Most of the ddr parameters are common in rk3399_base_params structure and which would reuse it in another controller like px30 in future. So, rename the structure from rk3399_base_params into sdram_base_params. Signed-off-by: Jagan Teki Signed-off-by: YouMin Chen --- arch/arm/include/asm/arch-rockchip/sdram_rk3399.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h index 67044f53e5..fe25446cab 100644 --- a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h +++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h @@ -121,7 +121,7 @@ struct rk3399_sdram_channel { struct rk3399_msch_timings noc_timings; }; -struct rk3399_base_params { +struct sdram_base_params { unsigned int ddr_freq; unsigned int dramtype; unsigned int num_channels; @@ -131,7 +131,7 @@ struct rk3399_base_params { struct rk3399_sdram_params { struct rk3399_sdram_channel ch[2]; - struct rk3399_base_params base; + struct sdram_base_params base; struct rk3399_ddr_pctl_regs pctl_regs; struct rk3399_ddr_pi_regs pi_regs; struct rk3399_ddr_publ_regs phy_regs;