summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/jarrell/power_reset_check.c
blob: 567d15c10f283d1641e9453bd774329bda8efe6a (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("\n");

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