cmd: Update addr_find to ignore the devicetree

We don't particularly need a devicetree to use the addr_find command, so
drop this condition.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-09-24 14:57:52 -06:00
parent 84f1571fc6
commit bd44e79ee7

View File

@@ -21,11 +21,6 @@ int do_addr_find(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
loff_t size;
int ret;
if (!gd->fdt_blob) {
log_err("No FDT setup\n");
return CMD_RET_FAILURE;
}
if (fs_set_blk_dev(argv[1], argc >= 3 ? argv[2] : NULL, FS_TYPE_ANY)) {
log_err("Can't set block device\n");
return CMD_RET_FAILURE;