blob: c44a81f69a55276c7d0ec68515abccd3f9a8cb56 [file] [log] [blame]
Ran Wang247058b2018-09-26 13:46:29 +08001#
2# QUICC Engine Drivers
3#
Tom Rinicc1e98b2019-05-12 07:59:12 -04004config QE
5 bool "Enable support for QUICC Engine"
Heiko Schocher6e31c622020-02-06 09:48:16 +01006 depends on PPC
Tom Rinicc1e98b2019-05-12 07:59:12 -04007 default y if ARCH_T1040 || ARCH_T1042 || ARCH_T1024 || ARCH_P1021 \
8 || ARCH_P1025
9 help
10 Chose this option to add support for the QUICC Engine.
11
Ran Wang247058b2018-09-26 13:46:29 +080012config U_QE
13 bool "Enable support for U QUICC Engine"
14 default y if (ARCH_LS1021A && !SD_BOOT && !NAND_BOOT && !QSPI_BOOT) \
15 || (TARGET_T1024QDS) \
16 || (TARGET_T1024RDB) \
Ran Wang247058b2018-09-26 13:46:29 +080017 || (TARGET_LS1043ARDB && !SPL_NO_QE && !NAND_BOOT && !QSPI_BOOT)
18 help
19 Choose this option to add support for U QUICC Engine.
Tom Rinicc1e98b2019-05-12 07:59:12 -040020
Rajesh Bhagata97a0712021-11-09 16:30:38 +053021config SYS_QE_FW_ADDR
22 hex "QE Firmware Address"
23 depends on FMAN_ENET || QE || U_QE
24 default 0x0
Tom Rinicc1e98b2019-05-12 07:59:12 -040025choice
26 prompt "QUICC Engine FMan ethernet firmware location"
27 depends on FMAN_ENET || QE
28 default SYS_QE_FMAN_FW_IN_ROM
29
30config SYS_QE_FMAN_FW_IN_NOR
31 bool "NOR flash"
32
33config SYS_QE_FMAN_FW_IN_NAND
34 bool "NAND flash"
35
36config SYS_QE_FMAN_FW_IN_SPIFLASH
37 bool "SPI flash"
38
39config SYS_QE_FMAN_FW_IN_MMC
40 bool "MMC"
41
42config SYS_QE_FMAN_FW_IN_REMOTE
43 bool "Remote memory location (PCI)"
44
45config SYS_QE_FMAN_FW_IN_ROM
46 bool "Firmware is already in ROM"
47
48endchoice