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: 489 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 795BA3F08F for ; Tue, 11 Jun 2019 16:54:25 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id g9sf9250354pgd.17 for ; Tue, 11 Jun 2019 07:54:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560264864; cv=pass; d=google.com; s=arc-20160816; b=rYJ4i2ucemBzH4CD3Cbh/7MrckhUzP2OIEyKCTu+KwAdT+V5fiijEqT/x3KXpaVSXm Ie+e6AtEN1rnvrE472nM6jzEe2OaW1kNPQ5r3oYWHlCQQGkEb3k4JQBFBdNeiuAYOUdI w0OZyty9X3B02ZN+SVhZ/1YEerKsLRdDLHHnFjui0SdapGGzo2FR7gclFr9fxBTSdVAv OCbZz0Oqciri3i8OqNOLwS2Ob9lkSpDjBSnav7OkWQbmr6t2HXUYUVhooh25K80iUh+q A/5/o7zVtLZRDZHWASF/cs5Jh4fefzXlCcDS0PxQRjlkBhG/PRtIkRKyjvQc/+IkxZIx 1oCw== 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=A2DjVJKZI7Nr4h8xI7+GEhrrm6ptWeD2BkiPaafqvbd48naVSJ0xma9YDpRFHbEnSD VFHj5Z4iVPQFJ+uQDA8WJLvsmVfKEMMlI4+usFRZq3r0/JX7nyvsi4/sOVAfgy6qJveL igM0zDZuZDeBetOJV0jYRHJaxaRKVlMNdyZV/ihSDW7zWxsPU/BpyE/TlFxtGM7f8x3C 31HbQoVdgcM2b2128GqpMcdNdAX7jULBkJUTyUdb2eKLkU22gPZdYcErMkk7Knmvyho2 cZ+8y8b9StxShLsZexpH5AtFzhaHxl3fQt1HLYpPtaq0E8QNk2RmMfMz6OX9fZ21DX3m yA1Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=J85+AMkk; 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=mDEzq+qBJTdXDKV7Mb6KduGNkLucq8DY+t2D73ij/9PTRvPN+usEqg4ENZj5Pc6NCn R7SJSrML1uSb7z4MY0Dw6OLYNL9KJ7aHI0gi8WTn2VUiKaf8FzpOzOZ7ahuZGJmsfrSY unt1kkzIYjd+OLAzFZ4lQ/cSwnijpqZDq+qWY= 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=YgPPJKQzsmWOVNDJCcvbvy9xMITnS/jHe05dJ2Boe+TXdITLS7cPKNTxjKMRhQjgRd CZZG4oBFf+LnhGQ1NsyMp9zvX83jT8rr8nY1yDnyjpUOP4ObQ9XMaoiFXRw+8oNEs7oH kiJsOL5FlCYd7tDH4HMxOhcE31x4akZkQfau3ErHfuW6kkKzHeHgFP0+vsbkSz287jVo gvbNIr4oHN0Sk7ANenzravvJlDCXlGsMg9E1h4mKjKKaP0ie9e+rJUwszT2irvdVBt/4 4ONUxl0zMJrLzbnHGmF0I9zEnNRX0Zn0SYLKv7EDWA/y9N4EBWJjbSi/DdUyWrKA82lt AbEQ== X-Gm-Message-State: APjAAAUGdj5Lib6/KfdJBLAIYrIayxyGy5uSpczm/DVzQ+Uquf+4lXkD 76yIZ5sQC5RbsZ4vAnO42pTyTwPP X-Google-Smtp-Source: APXvYqwUW9hofkLYGUqQnNYALsL5siXBrRmy9ATiSDOaAj3g1+dIAOINIv0yGEBCUPo8zCnhQ57lGQ== X-Received: by 2002:a65:5787:: with SMTP id b7mr20945477pgr.148.1560264864202; Tue, 11 Jun 2019 07:54:24 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:1b8a:: with SMTP id b132ls4498512pfb.9.gmail; Tue, 11 Jun 2019 07:54:24 -0700 (PDT) X-Received: by 2002:a63:a449:: with SMTP id c9mr20921551pgp.149.1560264863819; Tue, 11 Jun 2019 07:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560264863; cv=none; d=google.com; s=arc-20160816; b=zFAxo+Oo5uA0vvySQDjVq6QfPQy8gjFj4Ziuo5brqMXKJ4QAQnpe0XCxFxSU5RP1kc gEYVRsIhqrVMdw/yOr3Z2VvncNPT6zoL+1ufozy9OQ/Qlxu06nsi8Ls11+AMfepYa3TA Dcj5VyIJxr0BmmY3nt/vvmKnkOU80pbZcN4Ix5wTlEtH6JjCzRswZmoF42OzeR5aCa3y KXI473Ykejdx56fgby6kupdouFWFP7IJK/+KnswY8ze2USGPWwppXsHhc3q7TTbEryal FydUspcFEwbcBzIfnT3PMhTXM3cmWG/7/mgyYPdHPdUYxrQxiOSbNovGuthtJETCcDW4 SvqQ== 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=I5kWwk8DLsAkm4P6r2SD8MpuF71L5Xr07cHm2wWs2+LOW8o28ylINknU0mu4HUMCDO /HyNVZ0574f0P+xFqiDnhTn/BoI9JtWZnZemueSZoNnmRL9gCrYPpJtQr5qQYuLLgBHP IKPrxZ5QXVwu3zEOybGPbSejXIxfKfroxKWk1jV7OcZT9jOe6ve3DStepIzVS1Sr6nIn nZ/IEYQkwxjlrWPt+Gl41vfx3Zq9N7CU5sr8oItFIMR8+Ybr9l86e+Xnbne5kllrfTnX b3rVC9FXrWwM1Cxwl7on7mwsjay7c/8B4y1TOx6BdVGrUllfWITodMyiDCIE4MyefI6C T+DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=J85+AMkk; 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 o5sor3225200pjp.20.2019.06.11.07.54.23 for (Google Transport Security); Tue, 11 Jun 2019 07:54:23 -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: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 Cc: gajjar04akash@gmail.com, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 38/92] ram: rk3399: s/rk3399_base_params/sdram_base_params 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 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=J85+AMkk; 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;