diff options
author | Tom Rini <trini@konsulko.com> | 2017-04-14 09:05:57 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-14 09:05:57 -0400 |
commit | c1a16c3ab541c014b029b42cc27cae496107e170 (patch) | |
tree | e5da12851a4d920d9b79fa8547db9f479e506fed /drivers | |
parent | af1b7286d8b2712cff5779d8a1565afed9d9d8e6 (diff) | |
parent | 09397d99edb402c04d1e20b32989b5b2ecbb037a (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Kconfig | 2 | ||||
-rw-r--r-- | drivers/ddr/Kconfig | 1 | ||||
-rw-r--r-- | drivers/ddr/altera/Kconfig | 5 | ||||
-rw-r--r-- | drivers/ddr/altera/Makefile | 4 |
4 files changed, 11 insertions, 1 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig index 0e5d97d166..3e6bbacd15 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -14,6 +14,8 @@ source "drivers/cpu/Kconfig" source "drivers/crypto/Kconfig" +source "drivers/ddr/Kconfig" + source "drivers/demo/Kconfig" source "drivers/ddr/fsl/Kconfig" diff --git a/drivers/ddr/Kconfig b/drivers/ddr/Kconfig new file mode 100644 index 0000000000..b764add060 --- /dev/null +++ b/drivers/ddr/Kconfig @@ -0,0 +1 @@ +source "drivers/ddr/altera/Kconfig" diff --git a/drivers/ddr/altera/Kconfig b/drivers/ddr/altera/Kconfig new file mode 100644 index 0000000000..021ec1d857 --- /dev/null +++ b/drivers/ddr/altera/Kconfig @@ -0,0 +1,5 @@ +config ALTERA_SDRAM + bool "SoCFPGA DDR SDRAM driver" + depends on TARGET_SOCFPGA_GEN5 + help + Enable DDR SDRAM controller for the SoCFPGA devices. diff --git a/drivers/ddr/altera/Makefile b/drivers/ddr/altera/Makefile index 1ca705856d..bdd28722a9 100644 --- a/drivers/ddr/altera/Makefile +++ b/drivers/ddr/altera/Makefile @@ -8,4 +8,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-$(CONFIG_ALTERA_SDRAM) += sdram.o sequencer.o +ifdef CONFIG_ALTERA_SDRAM +obj-$(CONFIG_TARGET_SOCFPGA_GEN5) += sdram.o sequencer.o +endif |