x86: Allow excluding reset vector code from u-boot
authorGabe Black <gabeblack@chromium.org>
Tue, 27 Nov 2012 21:08:06 +0000 (21:08 +0000)
committerSimon Glass <sjg@chromium.org>
Wed, 28 Nov 2012 19:40:03 +0000 (11:40 -0800)
commitb16f521a5e87208cebbd17964452e11704416c3f
treef3a37b94139b202e67fcebd905a91e2ff6eb07da
parent8a487a4417221412d1cd23d4e08253fc9413be51
x86: Allow excluding reset vector code from u-boot

When running from coreboot we don't want this code.

This version works by ifdef-ing out all of the code that would go
into those sections and all the code that refers to it. The sections are
then empty, and the linker will either leave them empty for the loader
to ignore or remove them entirely.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
README
arch/x86/cpu/Makefile
arch/x86/cpu/u-boot.lds