From patchwork Tue Jun 11 14:50:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1114014 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="J85+AMkk"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45NZ6F0RB9z9s3l for ; Wed, 12 Jun 2019 01:43:32 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 33CBAC2221A; Tue, 11 Jun 2019 15:08:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 1E572C2211A; Tue, 11 Jun 2019 15:04:44 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id CB48AC220F7; Tue, 11 Jun 2019 14:54:28 +0000 (UTC) Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by lists.denx.de (Postfix) with ESMTPS id E0B6AC21EA8 for ; Tue, 11 Jun 2019 14:54:24 +0000 (UTC) Received: by mail-pf1-f195.google.com with SMTP id q10so7581738pff.9 for ; Tue, 11 Jun 2019 07:54:24 -0700 (PDT) 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:content-transfer-encoding; bh=qgL2FaT1eaStfsj3hGDtJf5kpFbPRE60ag+y7zGYXwk=; b=J85+AMkkBchfQtyJ4jcSOVtkkQLUzP1XgejtDqU/UI5lFHaGNr6nHddguvIR/J4Z1X Wmf90xtFIvIfE3K++332ev4KrVkAMir1i2AWjJB2SS8nKt8mJxYSRoToHs3k+gGnPDeX 7RjA2WsVTtC3wWk9F/r1gdq+XYVyBnJ33omgs= 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:content-transfer-encoding; bh=qgL2FaT1eaStfsj3hGDtJf5kpFbPRE60ag+y7zGYXwk=; b=kiCGc+myU1FsD8re3TXSStMMuhPR6Kj9l8SGXgTqHxxgR2wgMbxToKnxo9bGUilJXB RoO0HYfUvD90LZhCErMBTUYIlMrMYD5j1NURdE8ZI6uUP8xj4B8/HdAhZEJUhWShXkKS KiQ90DouCtXzMaU4VwKknc/1u60MN2IvlESwanRsBDcikvsj3uCrIId3asTuhhbA1/9Y wkYbtqj6U8Fex34BatNFO6CBD8DXltJalMldB1t54dGFaK0BkcKXHNjgTppBK+d0yggm dwTfGqgNECfdaou20rDmAnoQmz+VdrsrmpRysy4FFLWtPzpz7CuTuFd4E41O3e/6E7Lu X+KQ== X-Gm-Message-State: APjAAAVPBViSxVa/wq7KnvH+0Pb10w6R0iIqF+zuLEVl08nOpQc0fB4U kWOawiQnx1jKm+4HJ0jeDRU1GQ== X-Google-Smtp-Source: APXvYqymZO0/fURH+9PIyDUhK0SfMN8bzxZzKYbZnMD+AdruFssuMzREvqy99HSLI0j/g2VZHhbwvg== X-Received: by 2002:a17:90a:ac11:: with SMTP id o17mr27735080pjq.134.1560264863452; Tue, 11 Jun 2019 07:54:23 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.18]) by smtp.gmail.com with ESMTPSA id e9sm16206208pfn.154.2019.06.11.07.54.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 07:54:22 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , YouMin Chen , u-boot@lists.denx.de Date: Tue, 11 Jun 2019 20:20:41 +0530 Message-Id: <20190611145135.21399-39-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190611145135.21399-1-jagan@amarulasolutions.com> References: <20190611145135.21399-1-jagan@amarulasolutions.com> MIME-Version: 1.0 Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, gajjar04akash@gmail.com Subject: [U-Boot] [PATCH 38/92] ram: rk3399: s/rk3399_base_params/sdram_base_params X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" 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;