mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
usb: host: Move CONFIG_XHCI_FSL to Kconfig
use Kconfig to select xhci accordingly. Signed-off-by: Ran Wang <ran.wang_1@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
4417e83495
commit
420b0eba3c
14 changed files with 6 additions and 13 deletions
|
@ -71,6 +71,12 @@ config USB_XHCI_DRA7XX_INDEX
|
|||
Select the DRA7XX xHCI USB index.
|
||||
Current supported values: 0, 1.
|
||||
|
||||
config USB_XHCI_FSL
|
||||
bool "Support for NXP Layerscape on-chip xHCI USB controller"
|
||||
default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
|
||||
depends on !SPL_NO_USB
|
||||
help
|
||||
Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
|
||||
endif # USB_XHCI_HCD
|
||||
|
||||
config USB_EHCI_HCD
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
/*
|
||||
* USB
|
||||
*/
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
#define CONFIG_CMD_MEMINFO
|
||||
|
|
|
@ -119,7 +119,6 @@
|
|||
#endif
|
||||
|
||||
/*XHCI Support - enabled by default*/
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
/* MMC */
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
/*
|
||||
* USB
|
||||
*/
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
/*
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#define CONFIG_SYS_INIT_RAM_SIZE OCRAM_SIZE
|
||||
|
||||
/* XHCI Support - enabled by default */
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
#define CONFIG_SYS_CLK_FREQ 100000000
|
||||
|
|
|
@ -405,7 +405,6 @@ unsigned long get_board_ddr_clk(void);
|
|||
#endif
|
||||
|
||||
/*XHCI Support - enabled by default*/
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
/*
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#endif
|
||||
|
||||
/* XHCI Support - enabled by default */
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
|
||||
|
||||
#define CONFIG_SYS_CLK_FREQ 100000000
|
||||
|
|
|
@ -371,7 +371,6 @@ unsigned long get_board_ddr_clk(void);
|
|||
#endif
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
|
||||
|
||||
/*
|
||||
|
|
|
@ -286,7 +286,6 @@
|
|||
|
||||
/* USB */
|
||||
#ifndef SPL_NO_USB
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
|
||||
#endif
|
||||
|
||||
|
|
|
@ -137,7 +137,6 @@ unsigned long get_board_ddr_clk(void);
|
|||
#endif
|
||||
|
||||
/* USB */
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
|
||||
|
||||
/* SATA */
|
||||
|
|
|
@ -211,7 +211,6 @@
|
|||
|
||||
/* USB */
|
||||
#ifndef SPL_NO_USB
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
|
||||
#endif
|
||||
|
||||
|
|
|
@ -438,7 +438,6 @@ unsigned long get_board_ddr_clk(void);
|
|||
/*
|
||||
* USB
|
||||
*/
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
||||
|
||||
#include <asm/fsl_secure_boot.h>
|
||||
|
|
|
@ -336,7 +336,6 @@ unsigned long get_board_sys_clk(void);
|
|||
/*
|
||||
* USB
|
||||
*/
|
||||
#define CONFIG_USB_XHCI_FSL
|
||||
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
|
||||
|
||||
#undef CONFIG_CMDLINE_EDITING
|
||||
|
|
|
@ -5026,7 +5026,6 @@ CONFIG_USB_TTY
|
|||
CONFIG_USB_TUSB_OMAP_DMA
|
||||
CONFIG_USB_ULPI_TIMEOUT
|
||||
CONFIG_USB_XHCI_EXYNOS
|
||||
CONFIG_USB_XHCI_FSL
|
||||
CONFIG_USB_XHCI_KEYSTONE
|
||||
CONFIG_USB_XHCI_OMAP
|
||||
CONFIG_USER_LOWLEVEL_INIT
|
||||
|
|
Loading…
Reference in a new issue