summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/fsl/Kconfig
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-04 14:39:28 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-13 10:35:13 +0100
commite3d7b77adf0345d2f600151b9e1d114e5c2c919f (patch)
treea1c80c0f8a8b7776b6ddb878a83e5aca4c4dad3b /drivers/ddr/fsl/Kconfig
parentcb0eea73fdbc5347235d71e2a81cdf658fcd1d70 (diff)
downloadbarebox-e3d7b77adf0345d2f600151b9e1d114e5c2c919f.tar.gz
barebox-e3d7b77adf0345d2f600151b9e1d114e5c2c919f.tar.xz
ddr: fsl: Add Freescale ddr driver
This adds the Freescale ddr driver used on various PowerPC and Layerscape SoCs. This is based on U-Boot-2019.01 but with many adjustments: - PowerPC support has been removed - CPP #ifdeffery replaced with C - No more global variables/functions expected from the driver, configuration is passed by the board code which calls the driver We already have the driver in the tree in an older version forked from U-Boot-2013.04. This version lacks Layerscape support and many quirks in the driver are PowerPC specific. Since the existing driver should work on all known PowerPC and PowerPC is a dead end I decided not to improve the existing driver and instead add a new Layerscape specific driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/ddr/fsl/Kconfig')
-rw-r--r--drivers/ddr/fsl/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/ddr/fsl/Kconfig b/drivers/ddr/fsl/Kconfig
new file mode 100644
index 0000000000..9cae9028a2
--- /dev/null
+++ b/drivers/ddr/fsl/Kconfig
@@ -0,0 +1,16 @@
+config DDR_FSL
+ bool
+
+if DDR_FSL
+
+config DDR_FSL_DDR1
+ bool "Enable DDR1 support"
+config DDR_FSL_DDR2
+ bool "Enable DDR2 support"
+config DDR_FSL_DDR3
+ bool "Enable DDR3 support"
+config DDR_FSL_DDR4
+ bool "Enable DDR4 support"
+
+endif
+