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: 492 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id DE18B3F08F for ; Tue, 11 Jun 2019 16:54:37 +0200 (CEST) Received: by mail-pf1-f197.google.com with SMTP id j7sf9770152pfn.10 for ; Tue, 11 Jun 2019 07:54:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560264876; cv=pass; d=google.com; s=arc-20160816; b=EeEHSjVnKiRGf6JDqJSiQg5ykpjbsCrSf5TvrGL+52zgEDCmZpQslMBvl37O0fDz8R qEsJZ468oTGMdzxz1SYMSvsgEwNsZ1K9Asa/0rDcPvqrNYy0uf3eTCgdVcnsNzNNI9Vg mwBPwf7aHj+6QZO7JawF9Va6e+kNYUTu5/Hg4RLCNMVkySSP0+XkzFG3PaS5Bf+VIpS6 fQdlRQWt0iLYlHS9AIVL+7gc6gtm3nB1UPvZuspIDE6gtZSxIUtZdygJUQByVRIG7z6h B+71z+6jxGfW8qdSAQX6cL3bsQdHYwExShRo2y3dQdhG3FD9pXa2je0sAcQFRsqofZPx v9Yg== 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=W0YTPxzAjP1Dsk+oT+3cyLgwqhwNYAN+NlfKUN7CQbM=; b=Du5CGP4Vc/M6ijCE/YbYamOn2Papd0E4qbLbyZaTt6jz2/zmNPrhdLBXc/qptq+Wsf 6O1+IjXi3FXOpBoe3mtF35GMKxUm95deVpDQ7yQDBSeQ3WLcHAn1jXw8atnrNXMEuEFA e1XfXimo3V48peiOnmrU03Bup5dQvnDlpvO3BJedKcmmMNkbZTwthaCb7dhMkRh98W1v YxMyGTwZbCbAB/WoD3vEY3DUsMd0DcnrUx7CR8siQoCVkSIIz0ehgJpCvE2pIzLqohT5 x95+34LbW1JwGq1t4AWGetXJQrh238zI9v059dFSFQowtYcQ+wk0RSc3PTn6bvenK8q0 aphQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mAlknVM8; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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=W0YTPxzAjP1Dsk+oT+3cyLgwqhwNYAN+NlfKUN7CQbM=; b=gSJo32SeFQZqWPi4PH+aJOY48FKnzT6dBwfPoDCsKuNf9/pUdjf93SmXGxq1bnWzL3 66KHC1CUp2heZkGV2mJzcZi6qSP+SYiDIOnP7d/cMAJAunESQX7E1HIoxcY/U6xw+Gzt P3kmBMp3tlHJ9UL2WJ2s9g1obXP7RywwhqJI8= 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=W0YTPxzAjP1Dsk+oT+3cyLgwqhwNYAN+NlfKUN7CQbM=; b=e/Fx6s/T06TZwldXXWRKZ4SpEQUdgiQktNg92Qi6C+lnFRH3tuqE2fYwAMm9rH8sM5 9rGgUKMBw7h51pleXqDmIT3Pw7q+EDH/cKFWt/RWvTiUumnTtu+oUv4JxW764DjvfK2s X5r7TT3CL7mTCSJpb/Lt7fuuAgPn89ljk58QKF4Ezl8ANT3eBpIyV9gr5kbNszgXGIlB 1QHGGld45ngO4X1+Jcj/ypjZmpNhq7Vms620/ni2j69bwGTU9mWv/JnRxIClE1tpnkj1 FeCEINVrYBe/U1JiGEBToFfS4hO8g27qcfr59Y99i567IAgT8d1Czf6392Jgs05oAQ1+ khyg== X-Gm-Message-State: APjAAAVwHnFmpcFI2J3xVCWPcz/jQ5dOIUP+wWL5nvhpShcozSgwTW4+ Z0e15ZivFjANN0gtD3Q8BzEmMTnr X-Google-Smtp-Source: APXvYqz1rb/+OA6ECvoSS3loO27XyQKJAg//fcE9TvlOrOJIB4hsdDNNIV0dheXmk+xN9P5M7SIYog== X-Received: by 2002:a63:1f04:: with SMTP id f4mr21318108pgf.423.1560264876572; Tue, 11 Jun 2019 07:54:36 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:2670:: with SMTP id l103ls858748pje.5.canary-gmail; Tue, 11 Jun 2019 07:54:36 -0700 (PDT) X-Received: by 2002:a17:902:5c5:: with SMTP id f63mr76203586plf.176.1560264875844; Tue, 11 Jun 2019 07:54:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560264875; cv=none; d=google.com; s=arc-20160816; b=j4ijS4OPsDzJ35NUF2KNLYSoUxyGx+wiAH4WcI/I8xn3ICSQS7gcIGiW4Ijbc04NwD BmeRNbooCGz1E3TdlBLwKJakB46AbaQwktNjFAoa/Tztix2Xyfvo6T3poygjF3eyRRbU xOLGppK5nF6wE4fHi9bXTrWtZED+fC+++p3fFuSe0ud/xOISS0jOKiUch700nceymqZz KpjAx5/hd9jYDbVC7M5UQVJ1FOoik/tnTNoVpcumRiOmcfC7kOEX5Cl5leIxA+KiiS+r YOuQH4nqotku4hrrV0Q6kDQEo0JLidAzJg5nqT3By3K5kIM4QPqzez4p+c3fhdX0R4GZ mxJg== 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=UO8s36uD488DPxloYMOirzQDsI0oPxHRDrZXZS1gaH4=; b=tpyV0yzopMPzxxAACPAJADaNLXTVttvp7jup/HLi6/U+MgaeFP4tXsmtqEwl86lPx5 M2y07dHvf0EJwfqVLWcxBnejjIBL5DUq7CIUsYrzCyWdfMHrbnlm9owVfBRBDiziGi+y 6meRdMrrcQMjsyZQobc7zBeofRNwnsoP8Taunv6l3v78YJAPpa70QqK4NopMrayIO8tA a+88PUOddAURtpajUugUooAXnzesi1ve5Omk9diurBjoVEC2O+GRay89999r90jooNZ5 +fJ10GtKmV/DKW54cGazMkKKPYKuebodMg2ID7byeDPtXO7DbPEC9DZ+5mfBXT2Sp14L bQUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mAlknVM8; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id j13sor13074976pfa.8.2019.06.11.07.54.35 for (Google Transport Security); Tue, 11 Jun 2019 07:54:35 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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 Cc: gajjar04akash@gmail.com, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki 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-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=mAlknVM8; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 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: , 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,