Message ID | 20190611145135.21399-43-jagan@amarulasolutions.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-amarula+bncBD7MFH7A7EEBBMEB77TQKGQEMXRJ5EA@amarulasolutions.com> X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 68CEE3F08F for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 16:54:41 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id f25sf9751440pfk.14 for <linux-amarula@patchwork.amarulasolutions.com>; Tue, 11 Jun 2019 07:54:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1560264880; cv=pass; d=google.com; s=arc-20160816; b=JjXrsaWJbmQEAhicB1NlS1SgF9uMpm1lrk6qqOlzZPNAUsS2DG2HxO5+PnPTA+iSJj wS6sFeQvVLxbvCUqVQZcasGDFOUeYBnYk7hQNlwY94O21cHRX2Gf6jUShDC+LOJdD+nK gdhxheOOXymAmXvEiEBLWUjCgTuOOQ11ylz/PWsWVhqMsfcD/ZwR8KqmZp+59OaREFOF nHJCgXNfH2ZpjgKf2kLxKuWEXAT6omyAcWnZgHlUprMr4VQc+CGZ4pznqz6Ms/qwP4Dg 3QT8cTSvO3GNq26kuQrnCsuhxCTKdQqlZpLsRtsfDGvWW1AMv9ldkmaIkheKJ7iZn1Gz rl9Q== 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=eEaAQkyGm8YZQ8xTfle3cGOKrKQ5aFSplyJva+Fzskc=; b=CBqxorVTu0OG8+Z9aZ2pdoQb2IyPyjCpkGgox5N2bg0AFn4E6Q8I7InelEQcoM5lyh 0kq+r+cOrRSVXrwh9/D/7lZUeA5IzjCo5gC18qt756KCB9+v00i8ONL8NTFUwJWteJYF lA28989ue4Ps3vimb9V/corLxVPOoxPkmMeImE2tV3zp5rPmmlcaZ+7uPyGJOmH28ffK bNvhgUMYTIedRhMSNyt/4+EB5pdEVO/29DJQOf4UUFI91Qfgz57hpmKCOL9XOBeZFYGd IyItEq7Mumjh6NzYkbNZeCxKCOAvIBsvROiKE99cAoQATW5DyuPzZx52H4dAEd/rhD9+ 0F6A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=X7mbBQN4; 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=eEaAQkyGm8YZQ8xTfle3cGOKrKQ5aFSplyJva+Fzskc=; b=gNLtuELaKpymy/5SjTNI/Mkz586PQRqIsifEQeADD2vX7Q/ZAvwf+bf+1cBj6lZsBW CrGXmP+BUFfGlgtzh7HWjDknucH4K2yTCBxoNaLbvZoK6og+Es0NuhE721Lmn1/8m86I 3iUVJ/x8ffSVORulV7MqoiPYX3RthSb0vo3CE= 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=eEaAQkyGm8YZQ8xTfle3cGOKrKQ5aFSplyJva+Fzskc=; b=o1pJwPVZr4Ah7ApZjI18pGI+IIlhC8fw/DJjmziL0vDuTohkqPHDB73pBjNmog4Ffd gkeWEpipZCMJ9IowcjrinAB1uWnSCX9Y6seaUSGZO8K1iBjTQPM9qCUU67Gs9SX3T4Bb i984cAKvqkfq4fviHHNywE6XGqrcFNSgAKLS2aR4Ji1rGxPwBidWgu8OwIuNhQo5D2x3 2Nskx8vOUDm2bbs1rBAU310/zf403NcC2R2blEXFNSJU+/b9Za7N2Omd/qkhJ0mNdHXl QB9+C6jVcSr5Ax34sWwGm+vyMDbJRLRaLfdWOqPob5pI6JHGSfumvsq6N1qM24ZaPtMz uciw== X-Gm-Message-State: APjAAAV9ql+A6Uxukbam/RBJd7PH162ZvKV03jg3sI199np3+2MIsl64 H14gKEcvE2iSNcqf/uuciCYJ+dfO X-Google-Smtp-Source: APXvYqzXmfdJYVJfmktGvXljGPEcGODUkAp+201nvfqCEKrRlHT6xrGfrhfgurtWAx8/Kd0BX/ndxg== X-Received: by 2002:a17:902:54f:: with SMTP id 73mr75095758plf.246.1560264880255; Tue, 11 Jun 2019 07:54:40 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a62:28ca:: with SMTP id o193ls4496045pfo.10.gmail; Tue, 11 Jun 2019 07:54:40 -0700 (PDT) X-Received: by 2002:a63:cc4e:: with SMTP id q14mr20441700pgi.84.1560264879801; Tue, 11 Jun 2019 07:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560264879; cv=none; d=google.com; s=arc-20160816; b=xfFxOgn+ZMTT9iXUT06v0kwh1uChxg5byIQC5V0tyTWD5DxjTWDwv/oZvbb05E+gMM G/5HYG/rZT1J+9bFIHWMwOPXzABaPxnzr0WbJpkNI6mNTjZyfLES1pit+QK9AuqjYuW4 rmUsL/x32nCaR9qo+9AcliYOOoQlM+McHddjQs9r+bpUTwi6LYdHdxPmmMHpKDu6wPCU oprs9UeqHVOZDqqfQiP1PPsftgoToy36SnCuQ979gAqkaeg3ltO/3vQ/lb62d90qxjmN INgWesU05qPUlR2auAAij9tQojvuxF8WWpyjYvaODdhZ3CyTIFPU2SBeXRF2F+5wQ27q ghng== 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=H4/nKsiczNmGqfi/dZQpnKSiemWR24mun0ufWG0UjA4=; b=PJhBrHqTkH4GqP1e7FwZ7+RrcwzXKjLkaYEvZCuHxdvhoAK6QpXjJCnFoTxDQcZPMY sY/WRU0+WIxnvyg97ILABsuekmcXkyRRokltxK/5QQIZ+FVa6Soi37MrZQscLhU1dcoC Yz7w7eqfD9dWlcooLwmDXwOQq6bJRzur+MVCtu60AdGmHA0B4eqHRiaAlubx9j3Wt2/L KlB0TxUFyPIgq4yh9K26Ay8x3lJ9mX6VPt0ATAutOC+CEX+SWBsdxNNEe0AzfyhuzUaZ RfVXNOGwLFU4XEocG4F3SNPT1bcJvjbn0p1s28nNpk2iluxyWqLtfEEdozx3cu5IIP4t odLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=X7mbBQN4; 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 b5sor15620011ple.15.2019.06.11.07.54.39 for <linux-amarula@amarulasolutions.com> (Google Transport Security); Tue, 11 Jun 2019 07:54:39 -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:8b8b:: with SMTP id ay11mr76266842plb.63.1560264879488; Tue, 11 Jun 2019 07:54:39 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.18]) by smtp.gmail.com with ESMTPSA id e9sm16206208pfn.154.2019.06.11.07.54.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Jun 2019 07:54:39 -0700 (PDT) From: Jagan Teki <jagan@amarulasolutions.com> To: Simon Glass <sjg@chromium.org>, Philipp Tomsich <philipp.tomsich@theobroma-systems.com>, Kever Yang <kever.yang@rock-chips.com>, YouMin Chen <cym@rock-chips.com>, u-boot@lists.denx.de Cc: gajjar04akash@gmail.com, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki <jagan@amarulasolutions.com> Subject: [PATCH 42/92] ram: rockchip: Add initial Kconfig Date: Tue, 11 Jun 2019 20:20:45 +0530 Message-Id: <20190611145135.21399-43-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=X7mbBQN4; 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: <linux-amarula.amarulasolutions.com> X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/post>, <mailto:linux-amarula@amarulasolutions.com> List-Help: <https://support.google.com/a/amarulasolutions.com/bin/topic.py?topic=25838>, <mailto:linux-amarula+help@amarulasolutions.com> List-Archive: <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/> List-Unsubscribe: <mailto:googlegroups-manage+476853432473+unsubscribe@googlegroups.com>, <https://groups.google.com/a/amarulasolutions.com/group/linux-amarula/subscribe> |
Series |
|
Related |
show
|
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig index fbf7d7b20f..568d8f2c6a 100644 --- a/drivers/ram/Kconfig +++ b/drivers/ram/Kconfig @@ -54,4 +54,5 @@ config K3_AM654_DDRSS config add support for the initialization of the external SDRAM devices connected to DDR subsystem. +source "drivers/ram/rockchip/Kconfig" source "drivers/ram/stm32mp1/Kconfig" diff --git a/drivers/ram/rockchip/Kconfig b/drivers/ram/rockchip/Kconfig new file mode 100644 index 0000000000..995cb487b8 --- /dev/null +++ b/drivers/ram/rockchip/Kconfig @@ -0,0 +1,17 @@ +config RAM_ROCKCHIP + bool "Ram drivers support for Rockchip SoCs" + depends on RAM && ARCH_ROCKCHIP + default y + help + This enables support for ram drivers Rockchip SoCs. + +if RAM_ROCKCHIP + +config RAM_RK3399 + bool "Ram driver for Rockchip RK3399" + default ROCKCHIP_RK3399 + help + This enables ram drivers support for the platforms based on + Rockchip RK3399 SoC. + +endif # RAM_ROCKCHIP diff --git a/drivers/ram/rockchip/Makefile b/drivers/ram/rockchip/Makefile index 5df196066d..07d4b62a9d 100644 --- a/drivers/ram/rockchip/Makefile +++ b/drivers/ram/rockchip/Makefile @@ -9,4 +9,4 @@ obj-$(CONFIG_ROCKCHIP_RK3188) = sdram_rk3188.o obj-$(CONFIG_ROCKCHIP_RK322X) = sdram_rk322x.o obj-$(CONFIG_ROCKCHIP_RK3288) = sdram_rk3288.o obj-$(CONFIG_ROCKCHIP_RK3328) = sdram_rk3328.o -obj-$(CONFIG_ROCKCHIP_RK3399) = sdram_rk3399.o +obj-$(CONFIG_RAM_RK3399) += sdram_rk3399.o
Right now sdram drivers in rockchip SoC are built based on the SoC configs which may not be an adequate solutions while adding common or debug driver. So, add meaningful Kconfig options start with rk3399. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> --- drivers/ram/Kconfig | 1 + drivers/ram/rockchip/Kconfig | 17 +++++++++++++++++ drivers/ram/rockchip/Makefile | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 drivers/ram/rockchip/Kconfig