diff options
| author | Tom Warren <[email protected]> | 2012-02-17 06:01:21 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2012-03-29 08:12:47 +0200 |
| commit | d8bd820935bb9b8bf2717a259eeab4376e9ccc9a (patch) | |
| tree | 6c3cdf4bd4a1aeb506195a92969fe8e84c8a910a /lib | |
| parent | 5c1ad3e6f8ae578bbe30e09652f1531e9bc22031 (diff) | |
arm: Tegra2: Fix ELDK42 gcc failure with inline asm stack pointer load
The 4.2.2 gcc in the ELDK42 release doesn't like the direct SP
load using a constant in tegra2_start. Change it to use a load
thru another reg using mov sp, %0 : : "r"(CONST).
Tested on my Seaboard T20-A03, U-Boot loads and runs OK. Also
compiled all tegra2 builds with both gcc 4.2.2 and 4.4.1 OK.
Signed-off-by: Tom Warren <[email protected]>
Acked-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
