mirror of
https://xff.cz/git/u-boot/
synced 2025-09-25 04:21:18 +02:00
drivers: qe: Move CONFIG_U_QE to Kconfig
Signed-off-by: Ran Wang <ran.wang_1@nxp.com> [York S: revised subject line and removed commit message] Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
@@ -74,6 +74,8 @@ source "drivers/power/Kconfig"
|
|||||||
|
|
||||||
source "drivers/pwm/Kconfig"
|
source "drivers/pwm/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/qe/Kconfig"
|
||||||
|
|
||||||
source "drivers/ram/Kconfig"
|
source "drivers/ram/Kconfig"
|
||||||
|
|
||||||
source "drivers/remoteproc/Kconfig"
|
source "drivers/remoteproc/Kconfig"
|
||||||
|
12
drivers/qe/Kconfig
Normal file
12
drivers/qe/Kconfig
Normal file
@@ -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.
|
@@ -659,7 +659,6 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
#define CONFIG_SYS_DPAA_FMAN
|
#define CONFIG_SYS_DPAA_FMAN
|
||||||
|
|
||||||
#define CONFIG_QE
|
#define CONFIG_QE
|
||||||
#define CONFIG_U_QE
|
|
||||||
/* Default address of microcode for the Linux FMan driver */
|
/* Default address of microcode for the Linux FMan driver */
|
||||||
#if defined(CONFIG_SPIFLASH)
|
#if defined(CONFIG_SPIFLASH)
|
||||||
/*
|
/*
|
||||||
|
@@ -669,7 +669,6 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
|
|
||||||
#ifdef CONFIG_TARGET_T1024RDB
|
#ifdef CONFIG_TARGET_T1024RDB
|
||||||
#define CONFIG_QE
|
#define CONFIG_QE
|
||||||
#define CONFIG_U_QE
|
|
||||||
#endif
|
#endif
|
||||||
/* Default address of microcode for the Linux FMan driver */
|
/* Default address of microcode for the Linux FMan driver */
|
||||||
#if defined(CONFIG_SPIFLASH)
|
#if defined(CONFIG_SPIFLASH)
|
||||||
|
@@ -549,7 +549,6 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
#define CONFIG_SYS_DPAA_PME
|
#define CONFIG_SYS_DPAA_PME
|
||||||
|
|
||||||
#define CONFIG_QE
|
#define CONFIG_QE
|
||||||
#define CONFIG_U_QE
|
|
||||||
/* Default address of microcode for the Linux Fman driver */
|
/* Default address of microcode for the Linux Fman driver */
|
||||||
#if defined(CONFIG_SPIFLASH)
|
#if defined(CONFIG_SPIFLASH)
|
||||||
/*
|
/*
|
||||||
|
@@ -107,7 +107,6 @@ unsigned long get_board_ddr_clk(void);
|
|||||||
|
|
||||||
#if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_NAND_BOOT) && \
|
#if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_NAND_BOOT) && \
|
||||||
!defined(CONFIG_QSPI_BOOT)
|
!defined(CONFIG_QSPI_BOOT)
|
||||||
#define CONFIG_U_QE
|
|
||||||
#define CONFIG_SYS_QE_FMAN_FW_IN_NOR
|
#define CONFIG_SYS_QE_FMAN_FW_IN_NOR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -106,7 +106,6 @@
|
|||||||
|
|
||||||
#if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_NAND_BOOT) && \
|
#if !defined(CONFIG_SD_BOOT) && !defined(CONFIG_NAND_BOOT) && \
|
||||||
!defined(CONFIG_QSPI_BOOT)
|
!defined(CONFIG_QSPI_BOOT)
|
||||||
#define CONFIG_U_QE
|
|
||||||
#define CONFIG_SYS_QE_FMAN_FW_IN_NOR
|
#define CONFIG_SYS_QE_FMAN_FW_IN_NOR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -268,13 +268,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* QE */
|
|
||||||
#ifndef SPL_NO_QE
|
|
||||||
#if !defined(CONFIG_NAND_BOOT) && !defined(CONFIG_QSPI_BOOT)
|
|
||||||
#define CONFIG_U_QE
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* SATA */
|
/* SATA */
|
||||||
#ifndef SPL_NO_SATA
|
#ifndef SPL_NO_SATA
|
||||||
#ifndef CONFIG_CMD_EXT2
|
#ifndef CONFIG_CMD_EXT2
|
||||||
|
@@ -4635,7 +4635,6 @@ CONFIG_USE_SPIFLASH
|
|||||||
CONFIG_UTBIPAR_INIT_TBIPA
|
CONFIG_UTBIPAR_INIT_TBIPA
|
||||||
CONFIG_U_BOOT_HDR_ADDR
|
CONFIG_U_BOOT_HDR_ADDR
|
||||||
CONFIG_U_BOOT_HDR_SIZE
|
CONFIG_U_BOOT_HDR_SIZE
|
||||||
CONFIG_U_QE
|
|
||||||
CONFIG_VAL
|
CONFIG_VAL
|
||||||
CONFIG_VAR_SIZE_SPL
|
CONFIG_VAR_SIZE_SPL
|
||||||
CONFIG_VCT_NOR
|
CONFIG_VCT_NOR
|
||||||
|
Reference in New Issue
Block a user