coreboot/src/drivers
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 9a9ad24888)

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
..
ati drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00
dec drivers,Makefile.inc: Trivial - drop trailing blank lines at EOF 2014-07-17 02:19:46 +02:00
elog spi: Remove unused parameters from spi_flash_probe and setup_spi_slave. 2014-07-05 11:36:11 +02:00
emulation qemu: fix cirrus build 2014-08-28 07:50:53 +02:00
generic Drop drivers/generic/debug 2014-04-22 13:42:48 +02:00
i2c tpm: i2c: When probing the TPM, write a 0 into the TPM access register. 2014-10-22 03:52:42 +02:00
ics Get rid of drivers class 2012-11-27 22:00:49 +01:00
intel x86 romstage: Move stack just below RAMTOP 2014-10-19 06:14:05 +02:00
ipmi Get rid of drivers class 2012-11-27 22:00:49 +01:00
lenovo lenovo/x60: Support digitizer on X60t and X201t. 2014-07-19 14:24:29 +02:00
maxim max77802: update header 2013-12-21 13:29:42 +01:00
net drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00
parade Pit: move parade writes to mainboard.c 2013-12-21 08:06:52 +01:00
pc80 cmos: Rename the CMOS related functions. 2014-10-22 03:55:14 +02:00
sil Get rid of drivers class 2012-11-27 22:00:49 +01:00
spi drivers/spi: Add support for Micron N25Q128 2014-10-17 11:27:07 +02:00
ti [2/2] tps65090: re-factor for coreboot 2013-04-10 17:34:19 +02:00
trident drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00
uart uarts: 32/64 cleanup 2014-10-16 17:41:14 +02:00
usb drivers: Trivial - drop trailing blank lines at EOF 2014-07-08 13:51:47 +02:00
xpowers xpowers/axp209: Add helper to set voltages from devicetree config 2014-01-13 06:24:54 +01:00
Kconfig lenovo/x60: Support digitizer on X60t and X201t. 2014-07-19 14:24:29 +02:00
Makefile.inc lenovo/x60: Support digitizer on X60t and X201t. 2014-07-19 14:24:29 +02:00