diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-04 16:34:35 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-11 15:41:51 -0400 |
commit | 186424248d2a435cca0d8999c2fadc93fb1eb0fe (patch) | |
tree | 5b80c054975a9dbd8c453f9fc54654e0158e1ca1 /cmd | |
parent | 6500ec7a5a2a2a59128dba6f49d9905fc1258811 (diff) | |
download | u-boot-186424248d2a435cca0d8999c2fadc93fb1eb0fe.tar.gz |
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: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) return 1; break; -#if defined(CONFIG_CMD_PCI_ENUM) || defined(CONFIG_DM_PCI) +#if defined(CONFIG_DM_PCI) case 'e': pci_init(); return 0; @@ -782,7 +782,7 @@ static int do_pci(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) static char pci_help_text[] = "[bus] [long]\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" " - Enumerate PCI buses\n" #endif |