summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexander Smirnov <alllecs@yandex.ru>2015-07-03 18:58:23 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-07-06 13:33:09 +0200
commitc5e4c38f1918e13171f00a43294f47cdc615aed4 (patch)
treef8124237bcae8bcbf669267afad45f386fe79ef7 /arch
parentd46b6785c4bcd3ceb7d90895e9f44a7bf7d6757d (diff)
downloadbarebox-c5e4c38f1918e13171f00a43294f47cdc615aed4.tar.gz
barebox-c5e4c38f1918e13171f00a43294f47cdc615aed4.tar.xz
common: move DDR_SPD to common/Kconfig
This patch makes it possible to use ddr_spd-related routines in any arch not only in ppc. Signed-off-by: Alexander Smirnov <alllecs@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/ppc/mach-mpc85xx/Kconfig4
-rw-r--r--arch/ppc/mach-mpc85xx/Makefile3
2 files changed, 2 insertions, 5 deletions
diff --git a/arch/ppc/mach-mpc85xx/Kconfig b/arch/ppc/mach-mpc85xx/Kconfig
index e29be9c19e..aa518b98fc 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 3e646178b9..de4f5efde2 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