AMD SB: Call the rtc update if needed (Propagation)

Apply the change
http://review.coreboot.org/1390
to all the AMD southbridge.

Change-Id: I8e94014f8883a0408b68355d9aa33aea4373881f
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: zbao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1406
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
diff --git a/src/southbridge/amd/cimx/sb800/late.c b/src/southbridge/amd/cimx/sb800/late.c
index 0ce82b3..7286a6d 100644
--- a/src/southbridge/amd/cimx/sb800/late.c
+++ b/src/southbridge/amd/cimx/sb800/late.c
@@ -23,6 +23,7 @@
 #include <device/pci_ids.h>
 #include <arch/ioapic.h>
 #include <device/smbus.h>	/* smbus_bus_operations */
+#include <pc80/mc146818rtc.h>
 #include <console/console.h>	/* printk */
 #include <arch/acpi.h>
 #include "lpc.h"		/* lpc_read_resources */
@@ -120,11 +121,20 @@
 	.set_subsystem = pci_dev_set_subsystem,
 };
 
+static void lpc_init(device_t dev)
+{
+	printk(BIOS_DEBUG, "SB800 - Late.c - lpc_init - Start.\n");
+
+	rtc_check_update_cmos_date(RTC_HAS_ALTCENTURY);
+
+	printk(BIOS_DEBUG, "SB800 - Late.c - lpc_init - End.\n");
+}
+
 static struct device_operations lpc_ops = {
         .read_resources = lpc_read_resources,
         .set_resources = lpc_set_resources,
         .enable_resources = pci_dev_enable_resources,
-        .init = 0,
+        .init = lpc_init,
         .scan_bus = scan_static_bus,
         .ops_pci = &lops_pci,
 };