From patchwork Tue Jun 11 14:50:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10987305 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 214A814BB for ; Tue, 11 Jun 2019 14:54:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 10647288A7 for ; Tue, 11 Jun 2019 14:54:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E82E288B6; Tue, 11 Jun 2019 14:54:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B7093288AD for ; Tue, 11 Jun 2019 14:54:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=BjC9JSUGBPjG6ES4K02jgeg0WQD2f21G7KUcissW7ms=; b=qJz9zpuxiT1iFJ DmykX30gsZHCCGF4rvasfiBWH4Os19mKmrciDSLy966tyEgIl14HK2XX2C5uaAVriJUNLNYjs+O00 XT7wPmWzYlCKnuDKKOSIAkSX4gDgHCipvNVhtRookGVJwOXbDH2d1R4j1H5xPZDrSsLImXUrvMnuX WDCswQ4KoPa3+8i7Rf5e0bce1kVQIqutQRHmLm0nxvs8Tb1Kpn/7pRon8OlrR+KLjYgseCNAxU44A V+2c66ESheeapnlBtyotqm2DC1aZM3RpLxoEYtoYWRX1vglPxQYVaIsmP3fgIw5fq+WAB1ILIi9un phNwug09iQer95tI81UQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1haiAY-0005Yb-Hf; Tue, 11 Jun 2019 14:54:38 +0000 Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1haiAW-0005VD-2T for linux-rockchip@lists.infradead.org; Tue, 11 Jun 2019 14:54:37 +0000 Received: by mail-pf1-x433.google.com with SMTP id j2so7596621pfe.6 for ; Tue, 11 Jun 2019 07:54:36 -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=UO8s36uD488DPxloYMOirzQDsI0oPxHRDrZXZS1gaH4=; b=mAlknVM8Jbxyv7YzrvKcUhQ1vDiBOw/z+zj5WQk63uww6Nd5BZNKp7/4iq4IiQWi43 su6qDsVv/NLZETxRQEol36RMR6uHJplAIFcD03HHQSgYvF/eGFhjcwLL0ugCbzmKHF83 gwT5zKkbhHcaUB4Vt/WALSzS80hshcpClcHoU= 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=UO8s36uD488DPxloYMOirzQDsI0oPxHRDrZXZS1gaH4=; b=ohHpOcJ8amX4AyxrjDVbvzDh1lQgSlQTHnP1Iw3H1Xa14aIe6dX4/tWsRirzaniCvF sigQGGCPLd13pub9iSSG58G6msIcRL16pZdgKnM2tIx/OU45SfVeDfrPNqvegId/8BxS wmRVcog0nXUP2dpBGn0UVBI7H/nqTkh1g1R/WXcKc5s/+ooN6gllM9qRmKti50LglSzq 6WU1K019aeZTJ62UIaDLIlhChUQQUQueTISiNDx0ZJzOirgdqr+1rbkYg6geMBk4FWxf v1WXBN70kTC/v+2L3OJ2eTs4AAo75ba+rqqFt5Guo6Vt5T1WhtNJpvvhKWNdB139HG7N 5M7Q== X-Gm-Message-State: APjAAAVk0WDvcEUaopAbjruTbI9zhU6j2rSQuQdk4dtMLCSMsQB0YrYW I+FE0qWpPI1tQL6OgwEq25IRcA== X-Google-Smtp-Source: APXvYqxu4NpASje77z1O/PuaICAB5fsaVr369J4Z5RHk69fiG7WbiCjQiPNNpIiS/72WfXx9tkrrhw== X-Received: by 2002:a62:5214:: with SMTP id g20mr26762065pfb.187.1560264875555; Tue, 11 Jun 2019 07:54:35 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.18]) by smtp.gmail.com with ESMTPSA id e9sm16206208pfn.154.2019.06.11.07.54.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 07:54:35 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , YouMin Chen , u-boot@lists.denx.de Subject: [PATCH 41/92] arm: include: rockchip: Add DDR4 enum Date: Tue, 11 Jun 2019 20:20:44 +0530 Message-Id: <20190611145135.21399-42-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190611_075436_124844_C875BBA2 X-CRM114-Status: UNSURE ( 8.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki , gajjar04akash@gmail.com Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add DDR4 enum number in common header. Signed-off-by: Jagan Teki Signed-off-by: YouMin Chen --- arch/arm/include/asm/arch-rockchip/sdram_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-rockchip/sdram_common.h b/arch/arm/include/asm/arch-rockchip/sdram_common.h index e0a94f81a4..d723e6dacc 100644 --- a/arch/arm/include/asm/arch-rockchip/sdram_common.h +++ b/arch/arm/include/asm/arch-rockchip/sdram_common.h @@ -7,6 +7,7 @@ #define _ASM_ARCH_SDRAM_COMMON_H enum { + DDR4 = 0, DDR3 = 0x3, LPDDR2 = 0x5, LPDDR3 = 0x6,