From patchwork Mon Jul 15 18:21:06 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 725 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C40863F0E1 for ; Mon, 15 Jul 2019 20:22:00 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id c18sf10958145pgk.2 for ; Mon, 15 Jul 2019 11:22:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563214919; cv=pass; d=google.com; s=arc-20160816; b=SPp4hBmkPZFl3sOnmB32a2cq2W/zdOup2ylmQXkvVzwr80ZZJd1Sw3t/h4+E5HUNsY XEbuAYEL0oAOLYHScZTxCnkVftIJilEbGHeS3pBt74ELHNIP+SlwP0c6jyNz7KPpYhdy 64HfD2jRFfhfYg1cF5kt7DDMvEMArBK4ShU6xfm0ssIwE102qLZjXs+ldqY3tPRcAEMi 8D+v+RkAP0u0qkdOXY+tsW2Z4f9ZzdDerkz84nQ5LoDCsrqOyzchsHbvmd91FbAWsT65 5gS/UIjQc7SorqJCi/D/CxwTtwxxZpCCTMl0Mzuagv1htKoTGZSAO5f2Zgpypnr44sQ5 YmNQ== 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=VmrYqvT0/0VOlIiYrlPJ1nwfiMFWfgvkmdo/ow5r9As=; b=TEWaL9gfQyPHV1ckK4358rGMVgkusrDUe3eNwNHq2Cmf4doDSAcDpWcPVYJ4MP+mgn hPtKf78YWKd02yqfomc/Mj5mRRU2cOFZY2xEhaSHO+m71c3cC5BNqyTikQW3tYjxmcbD beIunK7rzkqchd9jF80pkw65utxtgQwAEwj6NXZLohdlCkk8QrB1ZDVmSLu91iAZBPaS nlaYJKIZdZIqn7Cdc2BuOMa9uFhn6QA3ItEggOna/PF8dnT8UtiUQDumekmPo6OAbpxy PaefhsXxnYmetKh2xdD82JIbYAT/7BzjjkiE+MFB6Su49XTyWu8wkSqmQI1qrX/r0+fk GoVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fijZIa/k"; 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=VmrYqvT0/0VOlIiYrlPJ1nwfiMFWfgvkmdo/ow5r9As=; b=JmX24bflTvCBHK56O2wpI4bV1CCaxFYluGD/gOUYTL0Gq1ZDOVYNqoBX/XrA+5qB8t xkhzXREdqeEgwL1NwZj4u9OuLAZtSFwZSWama4niJhyskZRXMSnIbWvY6z/wBAb+GngP N7MoIoQMBr+4dLZ/05NhWuAQ6LWb0Sai0likg= 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=VmrYqvT0/0VOlIiYrlPJ1nwfiMFWfgvkmdo/ow5r9As=; b=nrPwWuCm+1IG7ed3KjDElUvBHM9RagJ7rbxhrb12gzuJAN0rwc7TQMtFSTPJjE+Sks zGukVZT0TWGnxIT/26jNMd+RX99gJGjDcV5jouGqLnyhap7QSS6WyLN/1zFr6yh4EIzN peGkgQ/nmDP+9W8yCGDsiGFq5/pY7Omhjwly917keFLZNbUCI/wPtmeaipRouQj7Z3Y3 oJPtmKWHlq+0wJ0GEBHInVBJuxvGJSgAYxBRarOBkLXGs6W939gH0pU7f56enfikJRN2 nQc6WOoURhfU906+MZu8zJjuGsZZfrkJFOtd+37Tp96ZTqxRxcthJ8NPXurH/gJhZuUe geow== X-Gm-Message-State: APjAAAVafO9Hm7icNpCqA5b8nqw3EkQHkr0tqpJlUV0WWzHZRsJePLmR f/b8nMw21l8L5V6jnqjb3yDt3sdW X-Google-Smtp-Source: APXvYqzBMt3Cc92yM96/UAfFkFGx9gj9IfWSwXw39MIW4BhljppYRuh4sHQKHWzz1JWazFj7h0pMZQ== X-Received: by 2002:a17:902:b603:: with SMTP id b3mr30387166pls.9.1563214919645; Mon, 15 Jul 2019 11:21:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:db53:: with SMTP id u19ls6192071pjx.3.gmail; Mon, 15 Jul 2019 11:21:59 -0700 (PDT) X-Received: by 2002:a17:90a:4f0e:: with SMTP id p14mr29805659pjh.40.1563214919277; Mon, 15 Jul 2019 11:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563214919; cv=none; d=google.com; s=arc-20160816; b=FSsYbD630BYQ/m0EwIEraikGZcgJfQ64UYXv+usAh/wTIkq96NF7b9S+GI/lqubYO1 4tpQeKYVm5QN3kF3krH3TB6D35DtDloi4GIDINdwl89Ji/gVeQcW1AdT5N4ugMtxa3PJ 3L+ror6buNVZAJSkl5ibJztfJcEg7tFUFgaSp2LUqkSQSZIF2WJ1QJzPyEZwj6fkzsyY SU1i13wb8vwC7TJwj36Piqg4vxJHDJOeZV3R43j4PbF7N5wIt7bdpEKWZwfNqlz2SDHg UH8i5Z6UdwJBolcUqGcfUsBu0+mKWrI/dlsv/Ezl2Q7FkN0pXNAo3siIIzOWsHYIjuMx Mthw== 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=tOgocXtcb9eoHiA9+8GIY1ESQs7h5zSAVTxuw+oyh2w=; b=MCa3cCT53uLm32zeWsA5zcEl33RLE392zWonQQdoX3Y/uZ/q+v27m+c3NJp8Wauwpu cvU4UxuMTeyBEnjhRmqkefUB1KF3ZJptniSA7t6VJ4e6gRHzVtr4mqR0LHxCdmBpifSx ZVcjhcmFgZUQ9EpTukZwD0uxPUVra1SO7vsYNlGuXM4JnXHHERS0HFhHNk6DsbnoRux5 H50LmKkPt9PFjSuoNwpsitkx/F4hBCV66GEcjgrAKWewaAgNjmAvHHRuuDQtrvGrIXB0 eSDWL6dJ4pFrCQeVo4Ts9b3qds71vnxxQBWpAkZRec4iK9yaz9clS5jillveuHRG5JS0 KBIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fijZIa/k"; 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 w11sor9413141pfi.56.2019.07.15.11.21.59 for (Google Transport Security); Mon, 15 Jul 2019 11:21:59 -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:4006:: with SMTP id n6mr26798435pga.403.1563214918859; Mon, 15 Jul 2019 11:21:58 -0700 (PDT) Received: from localhost.localdomain ([49.206.201.107]) by smtp.gmail.com with ESMTPSA id l15sm18152405pgf.5.2019.07.15.11.21.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2019 11:21:58 -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 v3 11/15] ram: rk3399: s/rk3399_base_params/sdram_base_params Date: Mon, 15 Jul 2019 23:51:06 +0530 Message-Id: <20190715182110.21336-12-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190715182110.21336-1-jagan@amarulasolutions.com> References: <20190715182110.21336-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="fijZIa/k"; 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 Reviewed-by: Kever Yang --- 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 683093d4ca..5614b94ecb 100644 --- a/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h +++ b/arch/arm/include/asm/arch-rockchip/sdram_rk3399.h @@ -96,7 +96,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; @@ -106,7 +106,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;