Samuel Holland | 8265146 | 2017-06-03 03:53:33 -0500 | [diff] [blame] | 1 | /* |
| 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 Heymans | f3e50fc | 2018-12-15 21:38:39 +0100 | [diff] [blame] | 29 | #if IS_ENABLED(CONFIG_BOARD_FOXCONN_G41S_K) |
Samuel Holland | 8265146 | 2017-06-03 03:53:33 -0500 | [diff] [blame] | 30 | #define IT8720F_SHOW_SP2 1 |
Arthur Heymans | f3e50fc | 2018-12-15 21:38:39 +0100 | [diff] [blame] | 31 | #endif |
Samuel Holland | 8265146 | 2017-06-03 03:53:33 -0500 | [diff] [blame] | 32 | #define IT8720F_SHOW_EC 1 |
| 33 | #define IT8720F_SHOW_KBCK 1 |
| 34 | #define IT8720F_SHOW_KBCM 1 |
| 35 | #define IT8720F_SHOW_GPIO 1 |
Arthur Heymans | f3e50fc | 2018-12-15 21:38:39 +0100 | [diff] [blame] | 36 | #if IS_ENABLED(CONFIG_BOARD_FOXCONN_G41S_K) |
Samuel Holland | 8265146 | 2017-06-03 03:53:33 -0500 | [diff] [blame] | 37 | #define IT8720F_SHOW_CIR 1 |
Arthur Heymans | f3e50fc | 2018-12-15 21:38:39 +0100 | [diff] [blame] | 38 | #endif |
Samuel Holland | 8265146 | 2017-06-03 03:53:33 -0500 | [diff] [blame] | 39 | #include <superio/ite/it8720f/acpi/superio.asl> |