[U-Boot] [PATCH 2/3 V2] common: Implement support for linker-generated arrays

Marek Vasut marex at denx.de
Wed Sep 26 18:53:13 CEST 2012


Dear Wolfgang Denk,

> Dear Marek,
> 
> In message <201209252224.32686.marex at denx.de> you wrote:
> > > >                                         ... Such array though can
> > > > 
> > > > later be accessed and used via special accessor.
> > > 
> > > Can you please translate this to me?  I don't get what it means.
> > 
> > That you call a function that returns the pointer to the first member of
> > the array.
> 
> then please write this down?

I rewrote it, it made no sense.

> Do we always need such a function?  Where is it coming from?

It's not a function, macro, sorry for the confusion

> Auto-generated?  What about the memory footprint?

None, it's a macro. Doing exactly what &__u_boot_cmd... did, but instead of 
doing it at n places, it does so at one place now and is expanded as needed.

> > You mean what ...
> > 
> > /**
> > 
> >  *
> > 
> > This? Kernel-doc style ...
> 
> It violates the kernel CodyngStyle...

Yes, well ... let's discuss it.

> Best regards,
> 
> Wolfgang Denk

Best regards,
Marek Vasut


More information about the U-Boot mailing list