u-boot-brain/arch
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
..
arm arm: Move tlb_addr and tlb_size to arch_global_data 2013-02-01 15:21:58 -05:00
avr32 Add architecture-specific global data 2013-02-01 15:07:49 -05:00
blackfin Add architecture-specific global data 2013-02-01 15:07:49 -05:00
m68k Add architecture-specific global data 2013-02-01 15:07:49 -05:00
microblaze Add architecture-specific global data 2013-02-01 15:07:49 -05:00
mips arm: Move lastinc to arch_global_data 2013-02-01 15:07:50 -05:00
nds32 nds32: Drop tlb_addr from global data 2013-02-01 15:07:50 -05:00
nios2 Add architecture-specific global data 2013-02-01 15:07:49 -05:00
openrisc Add architecture-specific global data 2013-02-01 15:07:49 -05:00
powerpc Add architecture-specific global data 2013-02-01 15:07:49 -05:00
sandbox Add architecture-specific global data 2013-02-01 15:07:49 -05:00
sh Add architecture-specific global data 2013-02-01 15:07:49 -05:00
sparc Add architecture-specific global data 2013-02-01 15:07:49 -05:00
x86 x86: Set up the global data pointer in C instead of asm 2013-02-01 15:36:53 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00