summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2017-04-05 17:32:51 +0800
committerMarek Vasut <marex@denx.de>2017-04-14 14:06:57 +0200
commit707cd012e2e1dbed7150f7908727abb7bdc4c1a7 (patch)
tree9278f440d699bfb81fca30223545c940feaa29af /arch/arm
parente11b5e8d6ef72f2e83e680d132a0617a4540f0aa (diff)
arm: socfpga: Convert Altera DDR SDRAM driver to use Kconfig
Convert Altera DDR SDRAM driver to use Kconfig method. Enable ALTERA_SDRAM by default if it is on Gen5 target. Arria 10 will have different driver. Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com> Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-socfpga/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 18bb6dce3c..9bfee04098 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -43,6 +43,7 @@ config TARGET_SOCFPGA_CYCLONE5
config TARGET_SOCFPGA_GEN5
bool
+ select ALTERA_SDRAM
choice
prompt "Altera SOCFPGA board select"