u-boot-brain/arch/arm
Jeroen Hofstee c65a2abb6c ARM: make gd a function for clang
"clang does not support global register variables; this is
unlikely to be implemented soon because it requires additional
LLVM backend support" [1]

Workaround it by obtaining the value of gd/r9 by an inline
asm routine. Note there is no set routine added for ARM at the
moment, since most if not all updates of gd from c are actually
not needed for ARM.

[1] http://clang.llvm.org/docs/UsersManual.html

cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
2014-09-09 13:51:08 +02:00
..
cpu Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' 2014-09-09 00:21:24 +02:00
dts ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip 2014-09-05 20:37:07 +09:00
imx-common ARM: mx6: Prevent overflow in DRAM size detection 2014-08-20 12:21:57 +02:00
include/asm ARM: make gd a function for clang 2014-09-09 13:51:08 +02:00
lib ARM: SPL: do not set gd again 2014-09-09 13:50:57 +02:00
config.mk kconfig: delete redundant CONFIG_${ARCH} definition 2014-07-30 14:42:02 -04:00
Kconfig mx6: tqma6: get board support back to Kconfig build system 2014-08-31 12:01:04 -04:00