armv7: Add 'bootblock' build class.
commitfe18792a0887b5ba1ce8e0c8f9f6f1911395552a
authorHung-Te Lin <hungte@chromium.org>
Thu, 31 Jan 2013 17:09:24 +0000 (1 01:09 +0800)
committerRonald G. Minnich <rminnich@gmail.com>
Sun, 3 Feb 2013 04:45:48 +0000 (3 05:45 +0100)
tree5b0ac579e492647b0ab73cce0fcf6b47f636bdf9
parente876819975087654c1d3325928b044acf7f89b20
armv7: Add 'bootblock' build class.

For ARM platform, the bootblock may need more C source files to initialize
UART / SPI for loading romstage. To preventing making complex and implicit
dependency by using #include inside bootblock.c, we should add a new build class
"bootblock".

Also #ifdef __BOOT_BLOCK__ can be used to detect if the source is being compiled
for boot block.

For x86, the bootblock is limited to fewer assembly files so it's not using this
class. (Some files shared by x86 and arm in top level or lib are also changed
but nothing should be changed in x86 build process.)

Change-Id: Ia81bccc366d2082397d133d9245f7ecb33b8bc8b
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2252
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Makefile.inc
src/arch/armv7/Makefile.inc
src/arch/armv7/bootblock_simple.c
src/arch/armv7/include/arch/cbfs.h [deleted file]
src/arch/armv7/lib/Makefile.inc
src/cpu/samsung/exynos5-common/Makefile.inc
src/lib/Makefile.inc
src/lib/cbfs.c
src/mainboard/google/snow/bootblock.c