From 94ee328b97a7bf03fa8c80474cce434a2ff43bbd Mon Sep 17 00:00:00 2001 From: Bora Guvendik Date: Thu, 4 May 2017 13:06:43 -0700 Subject: soc/intel/common/block: Add Intel common SCS code support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create Intel Common SCS code. This code currently only contains the code for SD card SSDT generation. More code will get added up in the subsequent phases. Change-Id: I82f034ced64e1eaef41a7806133361d73b5009d3 Signed-off-by: Bora Guvendik Reviewed-on: https://review.coreboot.org/19631 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé --- .../intel/common/block/include/intelblocks/sd.h | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/soc/intel/common/block/include/intelblocks/sd.h (limited to 'src/soc/intel/common/block/include') diff --git a/src/soc/intel/common/block/include/intelblocks/sd.h b/src/soc/intel/common/block/include/intelblocks/sd.h new file mode 100644 index 0000000000..1dde344572 --- /dev/null +++ b/src/soc/intel/common/block/include/intelblocks/sd.h @@ -0,0 +1,27 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2017 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_INTEL_COMMON_BLOCK_SD_H +#define SOC_INTEL_COMMON_BLOCK_SD_H + +#include + +/* + * Fill the GPIO Interrupt or I/O information that will be used for the + * GPIO Connection Descriptor. + */ +int sd_fill_soc_gpio_info(struct acpi_gpio* gpio, struct device *dev); + +#endif /* SOC_INTEL_COMMON_BLOCK_SD_H */ -- cgit v1.2.3