From patchwork Mon Jul 15 18:21:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 728 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B4D573F0E1 for ; Mon, 15 Jul 2019 20:22:10 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id i2sf10723177pfe.1 for ; Mon, 15 Jul 2019 11:22:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1563214929; cv=pass; d=google.com; s=arc-20160816; b=YuMOWJXImZMfbgFJvJv9jU9MIwe5oWCEeqJQiayTA6VRUNGfxb+bSa/SbZsiHlonfG PA46HslGKYkCJUtrVY4pfUE4LYoxK/Ur1J49/Q22MyBdiuvMGgIzWrRfRYR9nF34N03s fJ2Dsyzgr8DM1XCa11tSO8yvxjaHA+V0zsPJHcxAETVbHRvxhkKwNf9C4hgxYfWG8Kbq SS2m2LMCafmtrejoPol6GT51ob/rserp6ImjnHTjHkySlOd+aSEp+xUMzoFCVhV9CXxL 72od9/J1fJXlZLNDHHcr8q/N4NJcU8KOPky81bwwJkUj5D4B9xOa444XxzGWijlasd6r a9uQ== 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=d+6FJWK++ssNdtOwC8kNoWVBNBFrxM4EK9RHly6oRlI=; b=dx2ou4/2Fv2sVUynSw68Et2WnKrbnw7sQCMEfmeYOQiWUyrGtvIouxlBWBSVFZTNOO Wf7Aytld6AyEclUlIyNQhSglYE0CnlvexeFDJaC60Pojd2wSLGXgzwwl962p4QOyaToI Pt14i/C1/1SqNb7fwoufhKH4AZzxnokjIixdqeRshNBKRQni8K283ydace0hPq3i9Nzy augPhOivbRei21aSQ0751pqUpZR4b6j/OXJTLnpYy3HiIDEKUj8JPqOM7PtJx+F3GqEU RL8y+MlAgk0XUxBW6Cp9qMpQlYY7eYmf9RXRttNbPEPJo/70mC39fN8gOvVB7gzFX4vM IMfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hRAkPB+7; 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=d+6FJWK++ssNdtOwC8kNoWVBNBFrxM4EK9RHly6oRlI=; b=knwZoOapNSuE+ViVgBT0xyqeohJFbT7lHjEyWOq4ic+YC6JwkSXVRW8G8t/N97EpLL s6L7O+D4bnv/KndBAyQkPGLZHSLTNuwjMGtMdmiHkkBdc8jkIz3rOIQM1nFbGItM+v8B OjICtXKt4e8fQl1NOZDx23dEYlbvat37saPYI= 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=d+6FJWK++ssNdtOwC8kNoWVBNBFrxM4EK9RHly6oRlI=; b=RY5OP9ouPjyW3o7u7CcBMA5J8IErMIhg0aPb8ai6D7xY6mPOPLEKtCNSp+tidIgJua jlU+/mtnDtK2izAWg0jnwww+X9ttTiruaW7omXNYuQUV06S9432cZ6TVZRnNNXGUR4mb 0Pyj22QykmpMJTKPAqZEGVQTg9IlRUtZDJSop2KWNufa5xfuNxFXL/cJ9drc1fe8bdj5 WUzBCM8G/KspvgTJTcUkInPDS4J7B2TkfLOZDjGRAVy0BPCtEekgPmBYsX9sAGYR6GZU d6XR4POXAFIE9myyLL92gyEMa5Hmn9n1T8CdU2AbSIxc4AifEGh6wtk/jg39Rd7K5qDs /exQ== X-Gm-Message-State: APjAAAXyMEDbgtX8ID3MeCrLuxqSReHvVAKb+iQSZzVi3OY1oWjBp7Fd q36CXtUzgG2+O2fuP83Ymi8ITYCW X-Google-Smtp-Source: APXvYqyvITAb785Gc3+5/+NTVnJarFB/XFHNM7yeGSTRBLL9AhY6DuWKoMlfA+HAWLtf301E/vge/A== X-Received: by 2002:a17:902:9b94:: with SMTP id y20mr29823121plp.260.1563214929620; Mon, 15 Jul 2019 11:22:09 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9684:: with SMTP id n4ls4716397plp.2.gmail; Mon, 15 Jul 2019 11:22:09 -0700 (PDT) X-Received: by 2002:a17:90a:1a45:: with SMTP id 5mr31460356pjl.43.1563214929298; Mon, 15 Jul 2019 11:22:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563214929; cv=none; d=google.com; s=arc-20160816; b=GulT++vdooUD9PteMSVHGjyGAb/lt3/jIdpqvwp6VWAuVdAK17ilmtzNpCRZ8Jm4Nz CHnZKBzUYwtvmRwfW87DfYpRQ6XqYF77+Y6bB732hZ+NHLd1p5JiDYaq0srFIZv8B5aW 83zjBM8jNW0Fov/gyT/zTj75B5X9akuDv0/aF1DEonSRVrAjq5sNWxswm3+HyzhcXZYJ HRT0dslTDQNXv3NCw9EXyFUw9lgKMckYY4zklayxlUlFW7bT9Tcevq1HtgWIDgXwc4+c imAcsDU8eeEbU9IS530SJPV1CpxWCd6QF5d2bWBDfmxOSwU5piIooqNdT7RzjkH+JGVV o0UQ== 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=5Fw++nmbb4WyxKfVf62oDVeir0dauMI5LkgU071iwqA=; b=dUv3zhxBrvDyU4MJZJaEPKWPBpDaY1miN8PBmZTwMxz7SKDzPm7TrEMDF7EUr4kRYH XDlolI1HLkvgj/UPTiXCKinJnd52cqFSekro+r1p8gi2ekjvJC/Z6WkQCbHfNjyLjxLQ VGcZlqirRPRejRcund+WfUUEUIEa9+TyBM1AoT8mz92yaUMvLo73z2wUfVoNVoZJ6ml/ hVCwQr+GdxtLHIao2kOi3lHrmcxNRkzyD8NTGLISHIJpCrnDrud7hOLvmMf7kLXF2cCE TlUlO4FyL+Kabel8KabHOq5b+e9dfcnTJMSkU3ssmaC/2bC3TXArwLf3moXvJN2padhS gLaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=hRAkPB+7; 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 o11sor21333035plk.18.2019.07.15.11.22.09 for (Google Transport Security); Mon, 15 Jul 2019 11:22:09 -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:902:1101:: with SMTP id d1mr30136700pla.212.1563214929026; Mon, 15 Jul 2019 11:22:09 -0700 (PDT) Received: from localhost.localdomain ([49.206.201.107]) by smtp.gmail.com with ESMTPSA id l15sm18152405pgf.5.2019.07.15.11.22.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Jul 2019 11:22:08 -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 14/15] arm: include: rockchip: Add DDR4 enum Date: Mon, 15 Jul 2019 23:51:09 +0530 Message-Id: <20190715182110.21336-15-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=hRAkPB+7; 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: , Add DDR4 enum number in common header. Signed-off-by: Jagan Teki Signed-off-by: YouMin Chen Reviewed-by: Kever Yang --- 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 55abcdae77..7ac25af327 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,