Evan Green has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46114 )
Change subject: mb/google/dedede: Enable GPP_E5 for i2c-mux
......................................................................
mb/google/dedede: Enable GPP_E5 for i2c-mux
Waddledee is going to have an I2C mux controlled by a GPIO to
separate cameras that both want the same I2C address. Enable this
pin as an output so that it can control stuff.
BUG=b:169444894
TEST=Test GPIO mux on reworked machine.
Signed-off-by: Evan Green <evgreen(a)chromium.org>
Change-Id: I12f2def0afec5873e72121ba8242b1160f99cfad
---
M src/mainboard/google/dedede/variants/baseboard/gpio.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/14/46114/1
diff --git a/src/mainboard/google/dedede/variants/baseboard/gpio.c b/src/mainboard/google/dedede/variants/baseboard/gpio.c
index 1d8d21d..352fe7b 100644
--- a/src/mainboard/google/dedede/variants/baseboard/gpio.c
+++ b/src/mainboard/google/dedede/variants/baseboard/gpio.c
@@ -200,7 +200,7 @@
/* E4 : IMGCLKOUT_2 */
PAD_NC(GPP_E4, NONE),
/* E5 : AP_SUB_IO_2 */
- PAD_NC(GPP_E5, NONE),
+ PAD_CFG_GPO(GPP_E5, 0, PLTRST),
/* E6 : GPP_E6/IMGCLKOUT_3 */
PAD_NC(GPP_E6, NONE),
/* E7 : GPP_E7/SATA_1_DEVSLP */
--
To view, visit https://review.coreboot.org/c/coreboot/+/46114
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I12f2def0afec5873e72121ba8242b1160f99cfad
Gerrit-Change-Number: 46114
Gerrit-PatchSet: 1
Gerrit-Owner: Evan Green <evgreen(a)chromium.org>
Gerrit-MessageType: newchange
Branden Waldner has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/35530 )
Change subject: mb/asus/p2-99: add Asus P2-99 as a variant of Asus P2B
......................................................................
mb/asus/p2-99: add Asus P2-99 as a variant of Asus P2B
Squash add Asus P2-99 as clone of Asus P2B and convert clone to variant
Change-Id: I78bd3e215c9c35d272919850f52feac135d06ed8
---
M src/mainboard/asus/p2b/Kconfig
M src/mainboard/asus/p2b/Kconfig.name
2 files changed, 11 insertions(+), 2 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/35530/1
diff --git a/src/mainboard/asus/p2b/Kconfig b/src/mainboard/asus/p2b/Kconfig
index f34b4dd..0c77779 100644
--- a/src/mainboard/asus/p2b/Kconfig
+++ b/src/mainboard/asus/p2b/Kconfig
@@ -12,7 +12,7 @@
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
-if BOARD_ASUS_P2B
+if BOARD_ASUS_P2B || BOARD_ASUS_P2_99
config BOARD_SPECIFIC_OPTIONS
def_bool y
@@ -28,12 +28,18 @@
string
default asus/p2b
+config VARIANT_DIR
+ string
+ default "p2-99" if BOARD_ASUS_P2_99
+ default "p2b" if BOARD_ASUS_P2B
+
config MAINBOARD_PART_NUMBER
string
+ default "P2-99" if BOARD_ASUS_P2_99
default "P2B"
config IRQ_SLOT_COUNT
int
default 6
-endif # BOARD_ASUS_P2B
+endif # BOARD_ASUS_P2B || BOARD_ASUS_P2_99
diff --git a/src/mainboard/asus/p2b/Kconfig.name b/src/mainboard/asus/p2b/Kconfig.name
index 60d6028..a299a35 100644
--- a/src/mainboard/asus/p2b/Kconfig.name
+++ b/src/mainboard/asus/p2b/Kconfig.name
@@ -1,2 +1,5 @@
config BOARD_ASUS_P2B
bool "P2B"
+
+config BOARD_ASUS_P2_99
+ bool "P2-99"
--
To view, visit https://review.coreboot.org/c/coreboot/+/35530
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I78bd3e215c9c35d272919850f52feac135d06ed8
Gerrit-Change-Number: 35530
Gerrit-PatchSet: 1
Gerrit-Owner: Branden Waldner <scruffy99(a)gmail.com>
Gerrit-MessageType: newchange
Paul Menzel has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46365 )
Change subject: mb/asus/a88xm-e/Kconfig: Remove `HUDSON_XHCI_ENABLE` override
......................................................................
mb/asus/a88xm-e/Kconfig: Remove `HUDSON_XHCI_ENABLE` override
Configuring this option here in the mainboard affects all boards. For
example, for the Asus F2A85-M PRO, the default should be `y`, if the blobs
repository is selected, but it is not selected.
│ Symbol: HUDSON_XHCI_ENABLE [=n] │
│ Type : boolean │
│ Prompt: Enable Hudson XHCI Controller │
│ Location: │
│ -> Chipset │
│ Prompt: Enable Hudson XHCI Controller │
│ Location: │
│ -> Chipset │
│ Defined at src/mainboard/asus/a88xm-e/Kconfig:51 │
│ Depends on: VENDOR_ASUS [=y] && BOARD_ASUS_A88XM_E [=n] │
As this option is configurable under *Chipset*, use the same default for
all boards and let the user choose. Board specific defaults only cause
confusion.
Change-Id: Iaeb27c42e97991f9389753856bd7deb3944e22d9
Signed-off-by: Paul Menzel <pmenzel(a)molgen.mpg.de>
---
M src/mainboard/asus/a88xm-e/Kconfig
1 file changed, 0 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/65/46365/1
diff --git a/src/mainboard/asus/a88xm-e/Kconfig b/src/mainboard/asus/a88xm-e/Kconfig
index 17fbe28..622f1bd 100644
--- a/src/mainboard/asus/a88xm-e/Kconfig
+++ b/src/mainboard/asus/a88xm-e/Kconfig
@@ -48,10 +48,6 @@
string
default "1002,990e"
-config HUDSON_XHCI_ENABLE
- bool
- default n
-
config HUDSON_LEGACY_FREE
bool
default n
--
To view, visit https://review.coreboot.org/c/coreboot/+/46365
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Iaeb27c42e97991f9389753856bd7deb3944e22d9
Gerrit-Change-Number: 46365
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter(a)users.sourceforge.net>
Gerrit-MessageType: newchange
John Zhao has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46506 )
Change subject: drivers/uart: Fix control flow DEADCODE issue
......................................................................
drivers/uart: Fix control flow DEADCODE issue
Coverity detects the irq_gpio_index DEADCODE which is initialized as -1.
This change updates irq_gpio_index based on irq_gpio.pin_count which
differentiates gpio irq or pirq.
Found-by: Coverity CID 1429983
TEST=None
Signed-off-by: John Zhao <john.zhao(a)intel.com>
Change-Id: I79f85f05b78e5569615ae4c4f7c81cc85c3999c9
---
M src/drivers/uart/acpi/acpi.c
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/06/46506/1
diff --git a/src/drivers/uart/acpi/acpi.c b/src/drivers/uart/acpi/acpi.c
index f9d9d8f..df26f4e 100644
--- a/src/drivers/uart/acpi/acpi.c
+++ b/src/drivers/uart/acpi/acpi.c
@@ -73,8 +73,10 @@
acpi_device_write_uart(&config->uart);
/* Use either Interrupt() or GpioInt() */
- if (config->irq_gpio.pin_count)
+ if (config->irq_gpio.pin_count) {
acpi_device_write_gpio(&config->irq_gpio);
+ irq_gpio_index++;
+ }
else
acpi_device_write_interrupt(&config->irq);
--
To view, visit https://review.coreboot.org/c/coreboot/+/46506
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I79f85f05b78e5569615ae4c4f7c81cc85c3999c9
Gerrit-Change-Number: 46506
Gerrit-PatchSet: 1
Gerrit-Owner: John Zhao <john.zhao(a)intel.com>
Gerrit-MessageType: newchange
Patrick Rudolph has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46617 )
Change subject: device/pci_device: Map big PCI bars above 4 GiB
......................................................................
device/pci_device: Map big PCI bars above 4 GiB
Map BARs bigger than 4GiB to memory space above 4GiB.
FIXME: This should probably go into the resource allocator.
Required for Nvidia NV100, which has a 32GiB BAR for accessing the VRAM.
Change-Id: Ief34e5bc1c2133ba7380acc9468d4e1042e6e100
Signed-off-by: Patrick Rudolph <patrick.rudolph(a)9elements.com>
---
M src/device/pci_device.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/46617/1
diff --git a/src/device/pci_device.c b/src/device/pci_device.c
index 3623c3b..36af0d9 100644
--- a/src/device/pci_device.c
+++ b/src/device/pci_device.c
@@ -178,6 +178,9 @@
/* 64bit limit. */
resource->limit = 0xffffffffffffffffULL;
resource->flags |= IORESOURCE_PCI64;
+
+ if (resource->size >= 0x100000000ULL)
+ resource->flags |= IORESOURCE_ABOVE_4G;
} else {
/* Invalid value. */
printk(BIOS_ERR, "Broken BAR with value %lx\n", attr);
--
To view, visit https://review.coreboot.org/c/coreboot/+/46617
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ief34e5bc1c2133ba7380acc9468d4e1042e6e100
Gerrit-Change-Number: 46617
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <patrick.rudolph(a)9elements.com>
Gerrit-MessageType: newchange