[PATCH 13/15] RFC: lib: Support a binary prefix 0y

Wolfgang Denk wd at denx.de
Wed Jul 21 10:27:32 CEST 2021


Dear Simon,

In message <20210720132940.1171011-14-sjg at chromium.org> you wrote:
> In some cases it is useful to be able to supply a binary value to a
> command. Use the '0y' prefix for this (binarY).

We also don't handle octal input yet, and also miss a number of
other interesting numberbases, like 42.

But ... do we really *need* all this stuff?

%% (signatures)
Perfection is reached, not when there is no longer anything  to  add,
but when there is no longer anything to take away.
                                           - Antoine de Saint-Exupery

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PROGRAM - n.  A magic spell cast over a computer  allowing it to turn
one's input into error messages.
v. tr. - To engage in a pastime similar to banging one's head against
a wall, but with fewer opportunities for reward.


More information about the U-Boot mailing list