Skip to content
Commit e6951139 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

lib: Allow using 0x when a decimal value is requested



U-Boot mostly uses hex for value input, largely because addresses are much
easier to understand in hex.

But in some cases a decimal value is requested, such as where the value is
small or hex does not make sense in the context. In these cases it is
sometimes useful to be able to provide a hex value in any case, if only to
resolve any ambiguity.

Add this functionality, for increased flexibility.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 5f4b3561
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment