[U-Boot] Export redesign

2014-11-26 Thread Martin Dorwig
Hello, while trying to eliminate the XF_xxx enums, i came to a point in examples/standalone/stubs.c In the definition of EXPORT_FUNC for CONFIG_AVR32 the XF_ ##x is not multiplied with sizeof(void*) . Is this a bug or a avr feature ? Regards Martin ___

Re: [U-Boot] Export redesign

2014-11-26 Thread Simon Glass
+avr32 maintainer Hi, On 26 November 2014 at 01:07, Martin Dorwig wrote: > Hello, > while trying to eliminate the XF_xxx enums, i came to a point in > examples/standalone/stubs.c > In the definition of EXPORT_FUNC for CONFIG_AVR32 > the XF_ ##x is not multiplied with sizeof(void*) . > Is this a

Re: [U-Boot] Export redesign

2014-11-26 Thread Martin Dorwig
Hello, for CONFIG_AVR32 the macro looks like this: #define EXPORT_FUNC(x) \ asm volatile( \ " .globl\t" #x "\n" \ #x ":\n"\