coreboot-kgpe-d16/src/arch/x86
Martin Roth 1b304cc23c arch/x86/bootblock_normal: Update to use fewer registers
- Move initialization of entry to later in main.
- Make boot_mode an unsigned char - no need to use int.
- Remove unnecessary variable filenames.
- Only get and try to boot fallback once.

Change-Id: I823092c60dd8c2de0a36ec7fdbba3e68f6b7567a
Test: compiled.
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/12574
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2015-12-04 18:39:29 +01:00
..
acpi tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
include arch/x86/acpi: Add IVRS table generation routines 2015-11-23 23:00:30 +01:00
acpi.c arch/x86/acpi: Add IVRS table generation routines 2015-11-23 23:00:30 +01:00
acpigen.c cpu/amd: Add CC6 support 2015-11-11 18:45:14 +01:00
assembly_entry.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boot.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
bootblock.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock_normal.c arch/x86/bootblock_normal: Update to use fewer registers 2015-12-04 18:39:29 +01:00
bootblock_simple.c arm/arm64: Generalize bootblock C entry point 2015-11-11 05:08:07 +01:00
c_start.S rmodule: use program.ld for linking 2015-09-09 19:35:30 +00:00
car.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbfs_and_run.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cbmem.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
cpu.c x86/smm: Initialize SMM on some CPUs one-by-one 2015-12-02 00:38:45 +01:00
cpu_common.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
crt0_romcc_epilogue.inc x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
ebda.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
exception.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
failover.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
gdt.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
id.ld x86/bootblock: Use LDFLAGS_bootblock to enable garbage collection 2015-10-07 03:08:58 +00:00
id.S arch/x86/bootblock: Do not include non-code files in bootblock.S 2015-10-08 19:11:24 +00:00
ioapic.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig arm/arm64: Generalize bootblock C entry point 2015-11-11 05:08:07 +01:00
Makefile.inc build system: Add more files through cbfs-files instead of manual rules 2015-12-02 17:30:36 +01:00
memcpy.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
memlayout.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
memmove.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
memset.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mmap_boot.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
mpspec.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
pci_ops_conf1.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
pci_ops_mmconf.c x86: flatten hierarchy 2015-07-13 21:04:56 +02:00
pirq_routing.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
prologue.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
romcc_console.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
smbios.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
stages.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tables.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
thread.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
thread_switch.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
wakeup.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
walkcbfs.S arch/x86: Link walkcbfs.S instead on including it in bootblock.S 2015-10-08 16:44:38 +00:00