summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/jarrell/power_reset_check.c
blob: e9008a40dc6868782ada286a1559aa06458e5daa (plain)
1
2
3
4
5
6
7
8
9
10
11
12

static void power_down_reset_check(void)
{
	uint8_t cmos;

	cmos=cmos_read(RTC_BOOT_BYTE)>>4 ;
	print_debug("Boot byte = ");
	print_debug_hex8(cmos);
	print_debug("\r\n");

	if((cmos>2)&&(cmos&1))  full_reset();
}