
On 08/09/2018 02:56 AM, Ran Wang wrote:
add Kconfig option for U QUICC Engine.
Signed-off-by: Ran Wang ran.wang_1@nxp.com
drivers/Kconfig | 2 ++ drivers/qe/Kconfig | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 drivers/qe/Kconfig
diff --git a/drivers/Kconfig b/drivers/Kconfig index c2e813f..da2f811 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -68,6 +68,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 0000000..e2dd2e7 --- /dev/null +++ b/drivers/qe/Kconfig @@ -0,0 +1,8 @@ +# +# QUICC Engine Drivers +# +config U_QE
- bool "Enable support for U QUICC Engine"
- default y if ARCH_LS1021A && !SD_BOOT && !NAND_BOOT && !QSPI_BOOT
- help
Choose this option to add support for U QUICC Engine.
Since you add Kconfig option, you should migrate all existing #define CONFIG_U_QE to Kconfig/defconfig. So far only T102x, T1040, LS1021, LS1043 have this option defined.
York