[U-Boot] [PATCH v2 1/3] qe: kconfig: U QE kconfig

Ran Wang ran.wang_1 at nxp.com
Tue Sep 25 06:45:14 UTC 2018


add Kconfig option for U QUICC Engine.

Signed-off-by: Ran Wang <ran.wang_1 at nxp.com>
---
Change in v2:
	Add more conditional define to support more platforms.

 drivers/Kconfig    |  2 ++
 drivers/qe/Kconfig | 12 ++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 drivers/qe/Kconfig

diff --git a/drivers/Kconfig b/drivers/Kconfig
index 56536c4b19..884a945a19 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -74,6 +74,8 @@ source "drivers/power/Kconfig"
 
 source "drivers/pwm/Kconfig"
 
+source "drivers/qe/Kconfig"
+
 source "drivers/ram/Kconfig"
 
 source "drivers/remoteproc/Kconfig"
diff --git a/drivers/qe/Kconfig b/drivers/qe/Kconfig
new file mode 100644
index 0000000000..c47b54ab12
--- /dev/null
+++ b/drivers/qe/Kconfig
@@ -0,0 +1,12 @@
+#
+# QUICC Engine Drivers
+#
+config  U_QE
+	bool "Enable support for U QUICC Engine"
+	default y if (ARCH_LS1021A && !SD_BOOT && !NAND_BOOT && !QSPI_BOOT) \
+		|| (TARGET_T1024QDS) \
+		|| (TARGET_T1024RDB) \
+		|| (TARGET_T1040QDS && !NOBQFMAN) \
+		|| (TARGET_LS1043ARDB && !SPL_NO_QE && !NAND_BOOT && !QSPI_BOOT)
+	help
+	  Choose this option to add support for U QUICC Engine.
-- 
2.17.1



More information about the U-Boot mailing list