summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-24 19:26:40 +0300
committerSimon Glass <sjg@chromium.org>2021-12-05 19:23:15 +0300
commit32c8566f138d4685c60c83fa89cf4bb0b7b00e79 (patch)
tree656b3ce23f7595748d3f96ecd297cee91351f569 /cmd
parent89050244c40e79fc24b24ee84e4e668a6dfc336d (diff)
downloadu-boot-32c8566f138d4685c60c83fa89cf4bb0b7b00e79.tar.xz
sandbox: Drop CONFIG_HOST_MAX_DEVICES
This can go in the related header file. Drop the CONFIG option. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/host.c b/cmd/host.c
index 2e998abbcd..f0d989ac0f 100644
--- a/cmd/host.c
+++ b/cmd/host.c
@@ -78,7 +78,7 @@ static int do_host_info(struct cmd_tbl *cmdtp, int flag, int argc,
if (argc < 1 || argc > 2)
return CMD_RET_USAGE;
int min_dev = 0;
- int max_dev = CONFIG_HOST_MAX_DEVICES - 1;
+ int max_dev = SANDBOX_HOST_MAX_DEVICES - 1;
if (argc >= 2) {
char *ep;
char *dev_str = argv[1];