From fc5489fc5e620adf3ec9f3d692444aa4c2b3801e Mon Sep 17 00:00:00 2001 From: Hannah Williams Date: Tue, 19 Jan 2016 11:58:58 -0800 Subject: soc/braswell: Add macro NATIVE_INT_PU20K Change-Id: I04db02d37a76f0643a73ae4d67b839e5cd61f7e3 Signed-off-by: Hannah Williams Reviewed-on: https://review.coreboot.org/13054 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- src/soc/intel/braswell/include/soc/gpio.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/soc') diff --git a/src/soc/intel/braswell/include/soc/gpio.h b/src/soc/intel/braswell/include/soc/gpio.h index 11110c94f1..4ab6592498 100644 --- a/src/soc/intel/braswell/include/soc/gpio.h +++ b/src/soc/intel/braswell/include/soc/gpio.h @@ -285,6 +285,11 @@ | PAD_GPIOFG_HI_Z | PAD_MODE_SELECTION(mode),\ .pad_conf1 = PAD_CONFIG1_DEFAULT0 } +#define NATIVE_INT_PU20K(mode, int_sel) {\ + .pad_conf0 = PAD_PULL_UP_20K | PAD_INT_SEL(int_sel) | PAD_GPIO_DISABLE \ + | PAD_GPIOFG_HI_Z | PAD_MODE_SELECTION(mode),\ + .pad_conf1 = PAD_CONFIG1_DEFAULT0 } + #define SPEAKER \ { .pad_conf0 = PAD_CONFIG0_DEFAULT0, \ .pad_conf1 = PAD_CONFIG1_DEFAULT0 } -- cgit v1.2.3