coreboot-kgpe-d16/src/include
Gabe Black b3f08c61f1 cmos: Rename the CMOS related functions.
Most of the code related to the mc146818 is not related to the RTC and is
really for managing the CMOS storage. Since we intend to add a generic API
for RTC drivers it's inconvenient for those functions to have an rtc_ prefix.
This CL renames those functions so they start with cmos_ instead. There are
some places where rtc_init was called with a comment that says something about
starting the RTC. That wasn't correct before (the RTC is always running), but
it looks a little odd now that the function is called cmos_init.

This CL also opportunistically cleans up some style problems in this file.

Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-on: https://chromium-review.googlesource.com/197794
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Commit-Queue: Gabe Black <gabeblack@chromium.org>
(cherry picked from commit 9a9ad24888b185fb58965457704e326bb508d788)

Removed the addition of stdint.h to mc146818rtc.h since
types.h is now included. Changed rtc_init to cmos_init for
fsp_bd82x6x, fsp_rangeley, fsp_baytrail, ibexpeak, vortex86ex.

Change-Id: Id4b9f6bea93e8bd5eaef2cb17f296adb9697114c
Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com>
Reviewed-on: http://review.coreboot.org/6977
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2014-10-22 03:55:14 +02:00
..
boot boot/coreboot_tables.h: Use it is instead of it easy in comment 2014-10-17 17:53:04 +02:00
console uarts: 32/64 cleanup 2014-10-16 17:41:14 +02:00
cpu amd: rename model_fxx_powernow to powernow. 2014-10-19 10:55:51 +02:00
device ACPI: Remove CONFIG_GENERATE_ACPI_TABLES 2014-10-16 12:01:10 +02:00
pc80 cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
smp SMP: Add arch-agnostic boot_cpu() 2014-02-11 21:55:30 +01:00
superio superio/common/conf_mode: Provide another common pnp entry/exit 2014-05-07 21:36:48 +02:00
assert.h gen: Add "assert" in assert.h. 2014-10-07 23:38:08 +02:00
bootmem.h coreboot: introduce notion of bootmem for memory map at boot 2014-03-03 21:47:27 +01:00
bootmode.h Declare get_write_protect_state() without ChromeOS 2014-05-08 16:25:30 +02:00
bootstate.h bootstate: don't use header in romstage code 2014-08-16 08:35:03 +02:00
cbfs.h coreboot: unify infrastructure for loading payloads 2014-03-03 19:48:02 +01:00
cbfs_core.h ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
cbmem.h Move nehalem/sandy/ivy to per-device acpi 2014-09-11 21:53:33 +02:00
delay.h Get rid of HAVE_INIT_TIMER config option 2014-04-26 13:25:28 +02:00
edid.h intel/gma: Clarify code and use dedicated init for Google Peppy 2014-08-25 22:36:03 +02:00
elog.h elog: Add event type for CPU thermal trip 2014-10-02 17:30:18 +02:00
endian.h
fallback.h
inttypes.h
ip_checksum.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
kconfig.h
lib.h lib/hexdump: Use size_t for length parameter of hexdump32() 2014-05-05 08:59:05 +02:00
memrange.h mtrr: only add prefetchable resources as WRCOMB for VGA devices 2014-02-09 22:08:53 +01:00
option.h option: Add arch-agnostic get_option() 2014-03-04 15:23:10 +01:00
payload_loader.h x86: add MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING option 2014-03-07 15:30:27 +01:00
ramstage_cache.h ramstage_cache: allow ramstage usage add valid helper 2014-05-10 06:31:45 +02:00
ramstage_loader.h coreboot: infrastructure for different ramstage loaders 2014-02-15 18:39:29 +01:00
reg_script.h reg_script: Fix bug in IO macros 2014-10-01 17:26:26 +02:00
reset.h Drop prototype guarding for romcc 2013-05-10 00:06:46 +02:00
rmodule-defs.h rmodules: use rmodtool to create rmodules 2014-03-20 23:55:55 +01:00
rmodule.h rmodules: use rmodtool to create rmodules 2014-03-20 23:55:55 +01:00
romstage_handoff.h coreboot: infrastructure for different ramstage loaders 2014-02-15 18:39:29 +01:00
rules.h build rules: Identify build stage with simple variables 2014-04-18 16:40:32 +02:00
sdram_mode.h
smbios.h intel/gma: consolidate vbt code 2014-09-13 14:27:03 +02:00
spd.h spd.h: Add all known SPD_MEMORY_TYPE definitions. 2013-06-03 22:35:21 +02:00
spd_cache.h gizmosphere/gizmo: Move support of SPD data in CBFS 2014-07-05 11:41:52 +02:00
spd_ddr2.h
spi-generic.h spi: Remove unused constants from spi-generic.h. 2014-10-22 03:53:48 +02:00
spi_flash.h SPI: Split writes using spi_crop_chunk() 2014-07-14 19:42:49 +02:00
stddef.h Add check_member macro to allow clean and easy struct offset checking 2014-09-22 18:42:20 +02:00
stdlib.h include/stdlib.h: Extend common macro collection 2014-07-10 20:50:16 +02:00
string.h Remove sprintf 2014-01-10 18:08:31 +01:00
swab.h include: Fix spelling 2013-07-11 22:36:19 +02:00
thread.h Possible thread stack implementation. 2014-08-07 23:55:15 +02:00
timer.h timer: Add functions to initialize absolute timer structures. 2014-07-31 18:32:52 +02:00
timestamp.h Intel FSP: add a shared set of functions for the FSP 2014-05-09 21:35:56 +02:00
tpm.h tpm: Clean up I2C TPM driver 2014-09-10 19:37:49 +02:00
trace.h
types.h pc80/keyboard: Ignore interface test failure. 2014-01-26 17:39:42 +01:00
vbe.h intel/gma: Clarify code and use dedicated init for Google Peppy 2014-08-25 22:36:03 +02:00
version.h Introduce stage-specific architecture for coreboot 2014-05-06 20:23:31 +02:00
watchdog.h