Debian Codegraph @

src/southbridge/intel/i82801gx/bootblock.c

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #include <arch/bootblock.h>
4 #include <southbridge/intel/common/early_spi.h>
5 #include <southbridge/intel/common/rcba.h>
6
7 #include "i82801gx.h"
8
9 void bootblock_early_southbridge_init(void)
10 {
11 enable_spi_prefetching_and_caching();
12
13 i82801gx_setup_bars();
14
15 /* Enable upper 128bytes of CMOS */
16 RCBA32(0x3400) = (1 << 2);
17
18 /* Disable watchdog timer */
19 RCBA32(GCS) = RCBA32(GCS) | 0x20;
20
21 i82801gx_lpc_setup();
22 }