b3f08c61f1
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> |
||
---|---|---|
.. | ||
boot | ||
console | ||
cpu | ||
device | ||
pc80 | ||
smp | ||
superio | ||
assert.h | ||
bootmem.h | ||
bootmode.h | ||
bootstate.h | ||
cbfs.h | ||
cbfs_core.h | ||
cbmem.h | ||
delay.h | ||
edid.h | ||
elog.h | ||
endian.h | ||
fallback.h | ||
inttypes.h | ||
ip_checksum.h | ||
kconfig.h | ||
lib.h | ||
memrange.h | ||
option.h | ||
payload_loader.h | ||
ramstage_cache.h | ||
ramstage_loader.h | ||
reg_script.h | ||
reset.h | ||
rmodule-defs.h | ||
rmodule.h | ||
romstage_handoff.h | ||
rules.h | ||
sdram_mode.h | ||
smbios.h | ||
spd.h | ||
spd_cache.h | ||
spd_ddr2.h | ||
spi-generic.h | ||
spi_flash.h | ||
stddef.h | ||
stdlib.h | ||
string.h | ||
swab.h | ||
thread.h | ||
timer.h | ||
timestamp.h | ||
tpm.h | ||
trace.h | ||
types.h | ||
vbe.h | ||
version.h | ||
watchdog.h |