2 * This file is part of the coreboot project.
4 * Copyright 2015 Google Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 /* This file assembles the bootblock program by the order of the includes. Thus,
17 * it's extremely important that one pays very careful attention to the order
20 #include <arch/x86/prologue.inc>
21 #include <cpu/x86/16bit/entry16.inc>
22 #include <cpu/x86/16bit/reset16.inc>
23 #include <cpu/x86/32bit/entry32.inc>
25 #ifdef CONFIG_CHIPSET_BOOTBLOCK_INCLUDE
26 #include CONFIG_CHIPSET_BOOTBLOCK_INCLUDE
29 #if IS_ENABLED(CONFIG_SSE)
30 #include <cpu/x86/sse_enable.inc>
34 * This bootblock.inc file is generated by ROMCC. The above program flow
35 * falls through to this point. ROMCC assumes the last function it parsed
36 * is the main function and it places its instructions at the beginning of
37 * the generated file. Moreover, any library/common code needed in bootblock
38 * needs to come after bootblock.inc.
40 #include <generated/bootblock.inc>