]> git.sur5r.net Git - u-boot/commitdiff
configs: Add DDR Kconfig support for Arria 10
authorTien Fong Chee <tien.fong.chee@intel.com>
Tue, 5 Dec 2017 07:58:03 +0000 (15:58 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 18 May 2018 08:30:47 +0000 (10:30 +0200)
This patch enables DDR Kconfig support for Arria 10.

Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Reviewed-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/mach-socfpga/Kconfig
drivers/ddr/altera/Kconfig

index 824c9fc2ba219c57ce00874c03733a147cd2602d..b8fc81b20c2fc71baf1f865dc7b6bc8fd948eafb 100644 (file)
@@ -10,6 +10,7 @@ config TARGET_SOCFPGA_ARRIA5
 config TARGET_SOCFPGA_ARRIA10
        bool
        select SPL_BOARD_INIT if SPL
+       select ALTERA_SDRAM
 
 config TARGET_SOCFPGA_CYCLONE5
        bool
index 021ec1d857712a635da68604c3ace66b2f93b227..2b28a97f6e7fb866fcfeea65e97eeef4065882ef 100644 (file)
@@ -1,5 +1,5 @@
 config ALTERA_SDRAM
        bool "SoCFPGA DDR SDRAM driver"
-       depends on TARGET_SOCFPGA_GEN5
+       depends on TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
        help
          Enable DDR SDRAM controller for the SoCFPGA devices.