/* * This file is part of the coreboot project. * * Copyright (C) 2017-2018 Intel Corporation. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _SOC_CANNONLAKE_GPIO_H_ #define _SOC_CANNONLAKE_GPIO_H_ #if CONFIG(SOC_INTEL_CANNONLAKE_PCH_H) #include #define CROS_GPIO_DEVICE_NAME "INT3450:00" #else #include #define CROS_GPIO_DEVICE_NAME "INT34BB:00" #endif #include #ifndef __ACPI__ struct pad_config; void cnl_configure_pads(const struct pad_config *cfg, size_t num_pads); #endif #endif