diff options
author | Brenton Dong <brenton.m.dong@intel.com> | 2017-02-15 16:13:27 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-02-22 23:22:13 +0100 |
commit | 6530b6d30dd5197ea855c608cecbcdcea8df9e32 (patch) | |
tree | 9268f38efee623b203723ec971b0ecb2b09972f8 /src/mainboard/intel/minnow3/gpio.h | |
parent | 97f542efc285a4a2d7245f75cd5f871f5f60b890 (diff) |
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 <brenton.m.dong@intel.com>
Reviewed-on: https://review.coreboot.org/18375
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/intel/minnow3/gpio.h')
-rw-r--r-- | src/mainboard/intel/minnow3/gpio.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <soc/gpio.h> + +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); |