From 6530b6d30dd5197ea855c608cecbcdcea8df9e32 Mon Sep 17 00:00:00 2001 From: Brenton Dong Date: Wed, 15 Feb 2017 16:13:27 -0700 Subject: intel/minnow3: Implement and configure GPIO tables Copy GPIO table implementation from the google/reef board except with board variant features removed. Also exlcude CrOS GPIO functions. Remove previous romstage GPIO implementation in brd_gpio.h and romstage.c. Configure GPIO settings for MinnowBoard 3. Change-Id: Id2817dcf2f8f196ecd13c810f7f0010a115db566 Signed-off-by: Brenton Dong Reviewed-on: https://review.coreboot.org/18375 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/intel/minnow3/gpio.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/mainboard/intel/minnow3/gpio.h (limited to 'src/mainboard/intel/minnow3/gpio.h') diff --git a/src/mainboard/intel/minnow3/gpio.h b/src/mainboard/intel/minnow3/gpio.h new file mode 100644 index 0000000000..60d5e31fbf --- /dev/null +++ b/src/mainboard/intel/minnow3/gpio.h @@ -0,0 +1,20 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2015-2016 Intel Corporation. All Rights Reserved. + * + * 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. + */ + +#include + +const struct pad_config *gpio_table(size_t *num); +const struct pad_config *early_gpio_table(size_t *num); +const struct pad_config *sleep_gpio_table(size_t *num); -- cgit v1.2.3