coreboot/src/include
Aaron Durbin 98bff60df3 UPSTREAM: cpu/x86/mtrr: don't guard function declarations
set_var_mtrr() and get_free_var_mtrr() don't need to be guarded
against various stages. It just complicates code which lives
in a compilation unit that is compiled for multiple stages by
needing to reflect the same guarding. Instead, just drop the
declaration guard. earlymtrr.c is still just compiled for earlier
stages, but if needed it's easy to move to a mtrr_util.c that
is compiled for all stages.

BUG=none
BRANCH=none
TEST=none

Change-Id: I2e78ef748b721b2a7ed08250ed0ffcda4dbffa08
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: d86e0e6638
Original-Change-Id: Id6be6f613771380d5ce803eacf1a0c8b230790b6
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/20018
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Reviewed-on: https://chromium-review.googlesource.com/524598
2017-06-05 18:33:52 -07:00
..
boot lib: add common write_tables() implementation 2016-04-21 20:49:05 +02:00
console UPSTREAM: console/flashsconsole: Add spi flash console for debugging 2017-06-05 18:33:49 -07:00
cpu UPSTREAM: cpu/x86/mtrr: don't guard function declarations 2017-06-05 18:33:52 -07:00
device UPSTREAM: device/device_util: Add function to determine bridge state 2017-06-05 18:33:44 -07:00
pc80 UPSTREAM: Kconfig: Move and clean up CONFIG_VGA 2017-05-23 23:58:49 -07:00
smp UPSTREAM: src/include: Add space after comma 2017-03-10 10:54:40 -08:00
superio tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
sys commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
tpm_lite UPSTREAM: cr50: add unmarshaling of vendor commands and process 'enable_update' 2017-03-25 13:37:59 -07:00
adainit.h UPSTREAM: Add option to use Ada code in ramstage 2016-11-07 11:02:52 -08:00
antirollback.h UPSTREAM: src/vboot: mark factory_initialze_tpm() as static 2016-11-14 19:58:42 -08:00
assert.h UPSTREAM: src/include: Move trailing statements to next line 2017-03-10 10:54:39 -08:00
b64_decode.h lib: add base64 decoder 2015-04-22 08:50:54 +02:00
base3.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bcd.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boardid.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
boot_device.h UPSTREAM: lib/boot_device: add RW boot device construct 2016-08-19 14:20:23 -07:00
bootblock_common.h UPSTREAM: src/include: Move storage class to beginning of declaration 2017-03-14 07:25:25 -07:00
bootmem.h lib/bootmem: allow architecture specific bootmem ranges 2016-04-21 20:46:45 +02:00
bootmode.h UPSTREAM: vboot: Add new function for logging recovery mode switches 2016-11-14 19:59:45 -08:00
bootstate.h UPSTREAM: src/include: Remove space after function name 2017-03-14 07:25:25 -07:00
cbfs.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
cbmem.h UPSTREAM: CBMEM: Clarify CBMEM_TOP_BACKUP function usage 2017-05-29 01:59:17 -07:00
delay.h UPSTREAM: src/include: Fix unsigned warnings 2017-03-10 10:54:39 -08:00
edid.h UPSTREAM: lib/edid: Save the display ASCII string 2017-05-07 07:41:13 -07:00
elog.h UPSTREAM: elog: Add more wake sources 2017-05-29 01:59:16 -07:00
endian.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
fallback.h UPSTREAM: pc80: Move set_boot_successful() 2016-12-16 01:49:05 -08:00
fmap.h UPSTREAM: lib/fmap: provide RW region device support 2016-08-22 00:11:45 -07:00
gic.h UPSTREAM: src/include: Capitalize CPU, RAM and ROM 2016-08-04 23:37:08 -07:00
gpio.h UPSTREAM: lib/gpio: add pullup & pulldown gpio_base2_value() variants 2016-07-07 19:29:24 -07:00
halt.h UPSTREAM: lib: add poweroff() declaration 2016-07-15 16:50:22 -07:00
imd.h cbmem: add coreboot table records for each cbmem entry 2015-11-03 00:19:46 +01:00
inttypes.h x86: provide more C standard environment 2013-03-20 04:20:25 +01:00
ip_checksum.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
kconfig.h Add config_enabled() from Linux 2012-05-08 00:36:09 +02:00
lib.h UPSTREAM: lib: remove ulzma() 2016-07-07 01:08:55 -07:00
main_decl.h arches: lib: add main_decl.h for main() declaration 2016-02-11 23:29:08 +01:00
memlayout.h UPSTREAM: vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-29 13:43:08 -07:00
memory_info.h UPSTREAM: src/include: Include stdint.h since struct dimm_info uses it 2017-03-06 07:04:31 -08:00
memrange.h UPSTREAM: src/include: Indent code using tabs 2017-03-10 10:54:40 -08:00
nhlt.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
option.h option: Add arch-agnostic get_option() 2014-03-04 15:23:10 +01:00
program_loading.h UPSTREAM: ACPI S3: Remove HIGH_MEMORY_SAVE where possible 2016-11-10 18:31:17 -08:00
random.h UPSTREAM: arch/x86: add functions to generate random numbers 2017-02-21 06:44:33 -08:00
reg_script.h UPSTREAM: src/include: Remove space after function name 2017-03-14 07:25:25 -07:00
region_file.h UPSTREAM: lib: add region file support 2016-12-09 03:29:43 -08:00
reset.h UPSTREAM: src/include: Improve code formatting 2016-09-07 11:31:21 -07:00
rmodule.h UPSTREAM: src/include: Remove space after function name 2017-03-14 07:25:25 -07:00
romstage_handoff.h UPSTREAM: lib: put romstage_handoff implementation in own compilation unit 2016-12-02 14:23:00 -08:00
rtc.h UPSTREAM: src/include: Open brace on same line as enum or struct 2017-03-13 05:16:02 -07:00
rules.h UPSTREAM: Stage rules.h: Add ENV_LIBAGESA 2017-03-07 04:17:28 -08:00
sar.h UPSTREAM: chromeos: Implement locating and decoding wifi sar data from VPD 2017-01-13 15:21:50 -08:00
sdram_mode.h UPSTREAM: src/include: Remove spaces before tabs 2017-03-13 05:16:02 -07:00
smbios.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
spd.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
spd_bin.h UPSTREAM: lib/spd_bin: make SMBus SPD addresses an input 2017-05-29 01:59:18 -07:00
spd_ddr2.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
spi-generic.h UPSTREAM: drivers/spi/spi_flash: Clean up SPI flash probe 2017-05-22 19:31:19 -07:00
spi_flash.h UPSTREAM: drivers/spi/spi_flash: Move flash ops to spi_flash_ops structure 2017-05-22 19:31:20 -07:00
stage_cache.h UPSTREAM: arch/x86: cache postcar in stage cache 2016-12-02 14:23:02 -08:00
stddef.h UPSTREAM: lib: provide clearer devicetree semantics 2017-04-26 13:36:55 -07:00
stdlib.h UPSTREAM: src/include: Add space after comma 2017-03-10 10:54:40 -08:00
string.h UPSTREAM: src/include: Move assignment out of if condition 2017-03-14 07:25:26 -07:00
swab.h UPSTREAM: src/include: Remove unnecessary typecast 2017-03-14 07:25:26 -07:00
symbols.h UPSTREAM: src/include: Remove spaces before ( and after ) 2017-03-13 05:16:01 -07:00
thread.h UPSTREAM: src/include: Move storage class to beginning of declaration 2017-03-14 07:25:25 -07:00
timer.h UPSTREAM: src/include: Indent code using tabs 2017-03-10 10:54:40 -08:00
timestamp.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
tpm.h UPSTREAM: drivers/spi/tpm: Clean up SPI TPM driver 2017-04-18 13:18:51 -07:00
trace.h UPSTREAM: src/include: Remove spaces before ( and after ) 2017-03-13 05:16:01 -07:00
types.h tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
vbe.h UPSTREAM: src/include: Wrap lines at 80 columns 2017-03-14 07:25:31 -07:00
version.h build.h: remove variable for the builduser, -hostname and -domain 2015-03-09 17:53:16 +01:00
watchdog.h UPSTREAM: src/include: Add parenthesis around macros 2017-03-11 17:04:38 -08:00
wrdd.h UPSTREAM: Remove extra newlines from the end of all coreboot files. 2016-08-04 23:36:56 -07:00