From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from forward6l.mail.yandex.net ([2a02:6b8:0:1819::6]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZAaBA-00032x-T5 for barebox@lists.infradead.org; Thu, 02 Jul 2015 08:49:09 +0000 From: Alexander Smirnov Date: Thu, 2 Jul 2015 11:50:15 +0300 Message-Id: <1435827017-1999-2-git-send-email-alllecs@yandex.ru> In-Reply-To: <1435827017-1999-1-git-send-email-alllecs@yandex.ru> References: <1435827017-1999-1-git-send-email-alllecs@yandex.ru> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [RFC V4 1/3] common: move DDR_SPD to common/Kconfig To: Sascha Hauer Cc: barebox@lists.infradead.org, Alexander Smirnov This patch makes it possible to use ddr_spd-related routines in any arch not only in ppc. Signed-off-by: Alexander Smirnov --- arch/ppc/mach-mpc85xx/Kconfig | 4 ---- arch/ppc/mach-mpc85xx/Makefile | 3 ++- common/Kconfig | 4 ++++ 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/ppc/mach-mpc85xx/Kconfig b/arch/ppc/mach-mpc85xx/Kconfig index e29be9c..aa518b9 100644 --- a/arch/ppc/mach-mpc85xx/Kconfig +++ b/arch/ppc/mach-mpc85xx/Kconfig @@ -81,10 +81,6 @@ config P1022 config MPC8544 bool -config DDR_SPD - bool - select CRC16 - config FSL_DDR2 bool diff --git a/arch/ppc/mach-mpc85xx/Makefile b/arch/ppc/mach-mpc85xx/Makefile index 3e64617..de4f5ef 100644 --- a/arch/ppc/mach-mpc85xx/Makefile +++ b/arch/ppc/mach-mpc85xx/Makefile @@ -9,5 +9,6 @@ obj-y += fsl_i2c.o obj-$(CONFIG_MP) += mp.o obj-$(CONFIG_OFTREE) += fdt.o obj-$(CONFIG_DRIVER_NET_GIANFAR) += eth-devices.o -obj-$(CONFIG_DDR_SPD) += ../ddr-8xxx/ +obj-$(CONFIG_FSL_DDR2) += ../ddr-8xxx/ +obj-$(CONFIG_FSL_DDR3) += ../ddr-8xxx/ extra-y += barebox.lds diff --git a/common/Kconfig b/common/Kconfig index 983d305..9c3628e 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -951,3 +951,7 @@ endmenu config HAS_DEBUG_LL bool + +config DDR_SPD + bool + select CRC16 -- 2.1.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox