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

Wolfgang Denk
2021-07-21T08:30:34Z

Dear Sean,

In message <9e1797ea-c1bf-5749-03a6-cf0e9430f3c3@gmail.com> you wrote:
> On 7/20/21 9:29 AM, Simon Glass 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).
>
> To bikeshed: 0b please

That doesn't work, as 0b010101 is in U-Boot in alost all contexts
interpreted as 0x0b010101 (hex) = 184615169 (dec)

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@denx.de
Microsoft Multitasking:
several applications can crash at the same time.