blob: 1f209ed862756005dbc94215f969dd99d59f849c [file] [log] [blame]
Andrey Petrovf35804b2017-06-05 13:22:41 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2017 Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef _SOC_CANNONLAKE_P2SB_H_
17#define _SOC_CANNONLAKE_P2SB_H_
18
19#define HPTC_OFFSET 0x60
20#define HPTC_ADDR_ENABLE_BIT (1 << 7)
21
22#define PCH_P2SB_EPMASK0 0x220
23#define PCH_P2SB_EPMASK(mask_number) (PCH_P2SB_EPMASK0 + (mask_number * 4))
24
25#define PCH_P2SB_E0 0xE0
26
27#endif