]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: fdt: Use env_set_hex() for "get addr" and "get size"
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 11 Mar 2023 16:29:21 +0000 (17:29 +0100)
committerSimon Glass <sjg@chromium.org>
Sun, 2 Apr 2023 18:53:53 +0000 (06:53 +1200)
commitd87a89386db07f43319e642b16f727f88e46dc5b
tree4939b275d2dc3d62309c843f6a827da8c5ebf219
parent3e2fec47ee345a1a0cb79a272f9612e6674f2afa
cmd: fdt: Use env_set_hex() for "get addr" and "get size"

The 'fdt get addr' and 'env get size' is always assumed to be hex
value, drop the prefix, and outright switch to env_set_hex(). Since
this might break existing users who depend on the existing behavior
with 0x prefix, this is a separate patch.

Revert if this breaks anything.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/fdt.c