On 08/29/2011 04:54 PM, Anton Staaf wrote: > On Mon, Aug 29, 2011 at 2:23 PM, Scott Wood <scottw...@freescale.com> wrote: >> With the version in that patch I get the slightly different "error: >> initializer element is not computable at load time". Seems like whether >> you cast the address to (type *) or (void *) determines which error you >> get. This is with GCC 4.5.1 (powerpc) and 4.6.0 (x86). Maybe it's >> arch-dependent, based on available relocation types. >> >> Also, shouldn't the array be of type "char" rather than "char *"? > > Yes, you are correct, it should be a char. That may be the problem.
It didn't make a difference. >> How do you make the declaration static? > > you can't with this version of the macro. Are there cases where you > need the buffer to be static? I think you'd want it to be static more often than not. -Scott _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot