提交 18642424 编写于 作者: S Simon Glass 提交者: Tom Rini

Kconfig: Drop CONFIG_CMD_PCI_ENUM

This option enables the 'pci enum' command. It is only enabled by a few
board and these have not yet been converted to driver model, which always
enables this command. It seems easiest to just remove this option.

The affected boards can be converted to use driver model for PCI if
needed.
Signed-off-by: NSimon Glass <sjg@chromium.org>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
Reviewed-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
上级 6500ec7a
...@@ -694,7 +694,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -694,7 +694,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
if ((bdf = get_pci_dev(argv[2])) == -1) if ((bdf = get_pci_dev(argv[2])) == -1)
return 1; return 1;
break; break;
#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI) #if defined(CONFIG_DM_PCI)
case 'e': case 'e':
pci_init(); pci_init();
return 0; return 0;
...@@ -782,7 +782,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ...@@ -782,7 +782,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
static char pci_help_text[] = static char pci_help_text[] =
"[bus] [long]\n" "[bus] [long]\n"
" - short or long list of PCI devices on bus 'bus'\n" " - short or long list of PCI devices on bus 'bus'\n"
#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI) #if defined(CONFIG_DM_PCI)
"pci enum\n" "pci enum\n"
" - Enumerate PCI buses\n" " - Enumerate PCI buses\n"
#endif #endif
......
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE BOOT_TARGET_DEVICES_references_IDE_without_CONFIG_IDE
#endif #endif
#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI) #if defined(CONFIG_DM_PCI)
#define BOOTENV_RUN_NET_PCI_ENUM "run boot_net_pci_enum; " #define BOOTENV_RUN_NET_PCI_ENUM "run boot_net_pci_enum; "
#define BOOTENV_SHARED_PCI \ #define BOOTENV_SHARED_PCI \
"boot_net_pci_enum=pci enum\0" "boot_net_pci_enum=pci enum\0"
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
/* PCIe support */ /* PCIe support */
#ifndef CONFIG_SPL_BUILD #ifndef CONFIG_SPL_BUILD
#define CONFIG_CMD_PCI_ENUM
#define CONFIG_PCI_MVEBU #define CONFIG_PCI_MVEBU
#define CONFIG_PCI_SCAN_SHOW #define CONFIG_PCI_SCAN_SHOW
#endif #endif
......
...@@ -483,7 +483,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy); ...@@ -483,7 +483,6 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
/* /*
* Command configuration. * Command configuration.
*/ */
#define CONFIG_CMD_PCI_ENUM
#define CONFIG_CMD_REGINFO #define CONFIG_CMD_REGINFO
/* /*
......
...@@ -286,7 +286,6 @@ ...@@ -286,7 +286,6 @@
/* /*
* Command configuration. * Command configuration.
*/ */
#define CONFIG_CMD_PCI_ENUM
#define CONFIG_CMD_REGINFO #define CONFIG_CMD_REGINFO
/* /*
......
...@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); ...@@ -336,7 +336,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
/* /*
* Command configuration. * Command configuration.
*/ */
#define CONFIG_CMD_PCI_ENUM
#define CONFIG_CMD_REGINFO #define CONFIG_CMD_REGINFO
/* /*
......
...@@ -335,7 +335,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy); ...@@ -335,7 +335,6 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
/* /*
* Command configuration. * Command configuration.
*/ */
#define CONFIG_CMD_PCI_ENUM
#define CONFIG_CMD_REGINFO #define CONFIG_CMD_REGINFO
/* /*
......
...@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10 ...@@ -293,7 +293,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG CONFIG_CMDLINE_TAG
CONFIG_CMD_PCI_ENUM
CONFIG_CMD_PCMCIA CONFIG_CMD_PCMCIA
CONFIG_CMD_PORTIO CONFIG_CMD_PORTIO
CONFIG_CMD_READ CONFIG_CMD_READ
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册