Skip to content

Commit

Permalink
common: move DDR_SPD to common/Kconfig
Browse files Browse the repository at this point in the history
This patch makes it possible to use ddr_spd-related
routines in any arch not only in ppc.

Signed-off-by: Alexander Smirnov <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
  • Loading branch information
alllecs authored and saschahauer committed Jul 6, 2015
1 parent d46b678 commit c5e4c38
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions arch/ppc/mach-mpc85xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ config P1022
config MPC8544
bool

config DDR_SPD
bool
select CRC16

config FSL_DDR2
bool

Expand Down
3 changes: 2 additions & 1 deletion arch/ppc/mach-mpc85xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions common/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -951,3 +951,7 @@ endmenu

config HAS_DEBUG_LL
bool

config DDR_SPD
bool
select CRC16

0 comments on commit c5e4c38

Please sign in to comment.