blob: 9432aca83317b762fe393418ab5c5aeb207e49c1 [file] [log] [blame]
Samuel Holland82651462017-06-03 03:53:33 -05001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2016 secunet Security Networks AG
5 * Copyright (C) 2017 Samuel Holland <samuel@sholland.org>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 */
16
17#undef SUPERIO_DEV
18#undef SUPERIO_PNP_BASE
19#undef IT8720F_SHOW_SP1
20#undef IT8720F_SHOW_SP2
21#undef IT8720F_SHOW_EC
22#undef IT8720F_SHOW_KBCK
23#undef IT8720F_SHOW_KBCM
24#undef IT8720F_SHOW_GPIO
25#undef IT8720F_SHOW_CIR
26#define SUPERIO_DEV SIO0
27#define SUPERIO_PNP_BASE 0x2e
28#define IT8720F_SHOW_SP1 1
Arthur Heymansf3e50fc2018-12-15 21:38:39 +010029#if IS_ENABLED(CONFIG_BOARD_FOXCONN_G41S_K)
Samuel Holland82651462017-06-03 03:53:33 -050030#define IT8720F_SHOW_SP2 1
Arthur Heymansf3e50fc2018-12-15 21:38:39 +010031#endif
Samuel Holland82651462017-06-03 03:53:33 -050032#define IT8720F_SHOW_EC 1
33#define IT8720F_SHOW_KBCK 1
34#define IT8720F_SHOW_KBCM 1
35#define IT8720F_SHOW_GPIO 1
Arthur Heymansf3e50fc2018-12-15 21:38:39 +010036#if IS_ENABLED(CONFIG_BOARD_FOXCONN_G41S_K)
Samuel Holland82651462017-06-03 03:53:33 -050037#define IT8720F_SHOW_CIR 1
Arthur Heymansf3e50fc2018-12-15 21:38:39 +010038#endif
Samuel Holland82651462017-06-03 03:53:33 -050039#include <superio/ite/it8720f/acpi/superio.asl>