8 #if CONFIG_MAX_REBOOT_CNT > 15
9 #error "CONFIG_MAX_REBOOT_CNT too high"
19 return rtc_byte + (1 << 4);
38 "Invalid CMOS checksum detected! Force fallback boot...\n");
#define printk(level,...)
#define BIOS_WARNING
BIOS_WARNING - Bad configuration.
static void cmos_write(unsigned char val, unsigned char addr)
static unsigned char cmos_read(unsigned char addr)
static int boot_use_normal(uint8_t rtc_byte)
static int boot_count(uint8_t rtc_byte)
static uint8_t boot_set_fallback(uint8_t rtc_byte)
static uint8_t increment_boot_count(uint8_t rtc_byte)
int cmos_lb_cks_valid(void)