[coreboot-gerrit] Patch set updated for coreboot: soc/braswell: Add macro NATIVE_INT_PU20K

Hannah Williams (hannah.williams@intel.com) gerrit at coreboot.org
Sat Jan 23 00:57:40 CET 2016


Hannah Williams (hannah.williams at intel.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13054

-gerrit

commit e81a178de941e802f76703c21c3629d1df460f5a
Author: Hannah Williams <hannah.williams at intel.com>
Date:   Tue Jan 19 11:58:58 2016 -0800

    soc/braswell: Add macro NATIVE_INT_PU20K
    
    Change-Id: I04db02d37a76f0643a73ae4d67b839e5cd61f7e3
    Signed-off-by: Hannah Williams <hannah.williams at intel.com>
---
 src/soc/intel/braswell/include/soc/gpio.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/soc/intel/braswell/include/soc/gpio.h b/src/soc/intel/braswell/include/soc/gpio.h
index 11110c9..4ab6592 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 }



More information about the coreboot-gerrit mailing list