u-boot-brain/arch/x86/cpu
Simon Glass 0cecc3b679 x86: Set up the global data pointer in C instead of asm
We currently assume that the global data pointer is at the start of
struct global_data. We want to remove this restriction, and it is
easiest to do this in C.

Remove the asm code and add equivalent code in C.

This idea was proposed by Graeme Russ here:
   http://patchwork.ozlabs.org/patch/199741/

Signed-off-by: Simon Glass <sjg@chromium.org>
[trini: Apply Graeme Russ' comments
http://patchwork.ozlabs.org/patch/206305/ here, re-order]
Signed-off-by: Tom Rini <trini@ti.com>
2013-02-01 15:36:53 -05:00
..
coreboot x86: drop unused code in coreboot.c 2012-12-06 14:30:44 -08:00
sc520 sc520: fix build warning about unused temp var 2012-03-06 21:05:18 +11:00
config.mk Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
cpu.c x86: Set up the global data pointer in C instead of asm 2013-02-01 15:36:53 -05:00
interrupts.c x86: Provide tick counter and frequency reference for Intel core architecture 2012-12-06 14:30:43 -08:00
Makefile x86: Add a dummy implementation for timer_get_us 2012-11-30 13:44:05 -08:00
resetvec.S Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
start16.S x86: Add back cold- and warm-boot flags 2012-12-06 14:30:42 -08:00
start.S x86: Set up the global data pointer in C instead of asm 2013-02-01 15:36:53 -05:00
timer.c x86: Add a dummy implementation for timer_get_us 2012-11-30 13:44:05 -08:00
u-boot.lds x86: Allow excluding reset vector code from u-boot 2012-11-28 11:40:03 -08:00