Fix our CMOS checksum algorithm so it matches what /dev/nvram expects
authorStefan Reinauer <reinauer@chromium.org>
Fri, 14 Oct 2011 22:24:03 +0000 (15:24 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 17 Oct 2011 15:51:52 +0000 (17:51 +0200)
commitd87dfc0c389563e4bac3c2726adce4f4800aad06
treea414ca09c4f3286f010244e16be35d4057208a73
parent1babddb202478c88813ee94911ee5576773e8d96
Fix our CMOS checksum algorithm so it matches what /dev/nvram expects

Our cmos checksum is inverted to what the Linux /dev/nvram device expects (and
BIOSes use). This makes it impossible to use /dev/nvram with coreboot. Fix it!

Change-Id: I239f7e3aca05d3691aee16490dd801df2ccaefd1
Signed-off-by: Vadim Bendebury <vbendeb@google.com>
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/279
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marcj303@gmail.com>
src/pc80/mc146818rtc.c