[PATCH 10/10] setexpr: Add support for strings
Simon Glass
sjg at chromium.org
Thu Nov 5 21:15:12 CET 2020
Hi Wolfgang,
On Thu, 5 Nov 2020 at 12:10, Wolfgang Denk <wd at denx.de> wrote:
>
> Dear Simon.
>
> In message <CAPnjgZ3DmeaincEcYkjeTuRijqtMZhJiDnyx_o4eSRE4gJaVFw at mail.gmail.com> you wrote:
> >
> > > > setexpr c *10 + *100
> > >
> > > I don't get it. The equivalent to "${a}${b}" would be
> > >
> > > setexpr c "*10*100"
> > >
> > > which is even simpler?
> >
> > I don't see how that works. The *10 thing in my example reads a string
> > out of address 10.
>
> Ah, got it. This requires your "[PATCH 10/10] setexpr: Add support
> for strings" first...
>
> But then... should there not be some '.s' size specification
> somewhere?
Ooops yes:
setexpr.s c *10 + *100
Regards,
Simon
More information about the U-Boot
mailing list