x86: Put global data on the stack
authorGraeme Russ <graeme.russ@gmail.com>
Tue, 27 Nov 2012 15:38:36 +0000 (15:38 +0000)
committerSimon Glass <sjg@chromium.org>
Wed, 28 Nov 2012 19:40:03 +0000 (11:40 -0800)
commit8d61625d6a73307857f80002949583105545dbbc
tree2f5da8cb7d9df09564e2c35818c429f247076582
parente4fb6116495eafbeee5ea8ff7ea245eb5e96d012
x86: Put global data on the stack

Putting global data on the stack simplifies the init process (and makes it
slightly quicker). During the 'flash' stage of the init sequence, global
data is in the CAR stack. After SDRAM is initialised, global data is copied
from CAR to the SDRAM stack

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/cpu.c
arch/x86/cpu/start.S
arch/x86/include/asm/global_data.h
arch/x86/include/asm/init_helpers.h
arch/x86/include/asm/processor.h
arch/x86/lib/board.c
arch/x86/lib/init_helpers.c
include/configs/coreboot.h
include/configs/eNET.h