mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user