Re: [U-Boot] [PATCH v2] nios2: fix out of reach case for do_reset

2010-08-19 Thread Scott McNutt
Thomas, Applied to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > There is a limitation (or bug?) of nios2 toolchain. The nios2 gcc > didn't generate correct code when the reset vector is passed as a > constant. It just generated a direct "call", which was wrong whe

[U-Boot] [PATCH v2] nios2: fix out of reach case for do_reset

2010-08-15 Thread Thomas Chou
There is a limitation (or bug?) of nios2 toolchain. The nios2 gcc didn't generate correct code when the reset vector is passed as a constant. It just generated a direct "call", which was wrong when the reset vector was not located in the same 256MB span as u-boot. The "Nios II Processor Reference