[U-Boot] UNS: [Nios2-dev] [PATCH] nios2: fix out of reach case for do_reset

Thomas Chou thomas at wytron.com.tw
Mon Aug 16 04:48:22 CEST 2010


On 08/14/2010 07:51 AM, Brad Parker wrote:
> As a comment, that patch looks pretty ugly.  I might suggest an inline
> function (called "callr" or "nios2_callr") which
> encapsulates the __asm__.   That would make the code much easier to read.
>
> You could put the inline function in one of the asm headers.
>
> -brad

Hi Brad,

Thanks. I will add a macro for the inline asm.

- Thomas


More information about the U-Boot mailing list