ARM: use r9 for gd
To be more EABI compliant and as a preparation for building
with clang, use the platform-specific r9 register for gd
instead of r8.
note: The FIQ is not updated since it is not used in u-boot,
and under discussion for the time being.
The following checkpatch warning is ignored:
WARNING: Use of volatile is usually wrong: see
Documentation/volatile-considered-harmful.txt
Signed-off-by:
Jeroen Hofstee <jeroen@myspectrum.nl>
cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Showing
- arch/arm/config.mk 1 addition, 1 deletionarch/arm/config.mk
- arch/arm/cpu/armv7/lowlevel_init.S 2 additions, 2 deletionsarch/arm/cpu/armv7/lowlevel_init.S
- arch/arm/include/asm/global_data.h 1 addition, 1 deletionarch/arm/include/asm/global_data.h
- arch/arm/lib/crt0.S 8 additions, 8 deletionsarch/arm/lib/crt0.S
Please register or sign in to comment