coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
reset.c File Reference
#include <console/console.h>
#include <device/mmio.h>
#include <soc/iomap.h>
#include <reset.h>
Include dependency graph for reset.c:

Go to the source code of this file.

Macros

#define RESET_WDT_BITE_TIME   0x31F3
 
#define RESET_WDT_BARK_TIME   (5 * RESET_WDT_BITE_TIME)
 

Functions

static void wdog_reset (void)
 
void do_board_reset (void)
 

Macro Definition Documentation

◆ RESET_WDT_BARK_TIME

#define RESET_WDT_BARK_TIME   (5 * RESET_WDT_BITE_TIME)

Definition at line 14 of file reset.c.

◆ RESET_WDT_BITE_TIME

#define RESET_WDT_BITE_TIME   0x31F3

Definition at line 9 of file reset.c.

Function Documentation

◆ do_board_reset()

void do_board_reset ( void  )

Definition at line 28 of file reset.c.

References wdog_reset().

Here is the call graph for this function:

◆ wdog_reset()

static void wdog_reset ( void  )
static

Definition at line 16 of file reset.c.

References APCS_WDT0_BARK_TIME, APCS_WDT0_BITE_TIME, APCS_WDT0_CPU0_WDOG_EXPIRED_ENABLE, APCS_WDT0_EN, APCS_WDT0_RST, BIOS_DEBUG, printk, RESET_WDT_BARK_TIME, RESET_WDT_BITE_TIME, and write32().

Referenced by do_board_reset().

Here is the call graph for this function:
Here is the caller graph for this function: