arch/x86: fix cmos post logging in non romcc bootblock
commit49342cd6880b3f2a8e20957d976914cd4ee7b43d
authorAaron Durbin <adurbin@chromium.org>
Thu, 5 Jan 2017 16:07:19 +0000 (5 10:07 -0600)
committerAaron Durbin <adurbin@chromium.org>
Fri, 6 Jan 2017 16:30:58 +0000 (6 17:30 +0100)
treeacc440a4eace0e6fb206c0a1ea4384dfbf294059
parent7ad4dc5e9914e927a827ce48a030d2d04e7ec792
arch/x86: fix cmos post logging in non romcc bootblock

cmos_post_init() is called in src/arch/x86/bootblock_simple.c, and
that function is reponsible for bootstrapping the cmos post register
contents. Without this function being called none of the cmos post
functionality works correctly. Therefore, add a call to lib/bootblock.c
which the C_ENVIRONMENT_BOOTBLOCK SoCs use.

BUG=chrome-os-partner:61546

Change-Id: I2e3519f2f3f2c28e5cba26b5811f1eb0c2a90572
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/18043
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/arch/x86/include/arch/bootblock_romcc.h
src/include/pc80/mc146818rtc.h
src/lib/bootblock.c