Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src/mainboard/clevo/mtl-h/variants/dgpu/gpio.c: disable dgpu initiali… #625

Draft
wants to merge 2 commits into
base: dasharo
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mainboard/clevo/mtl-h/variants/dgpu/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,12 +310,12 @@ static const struct pad_config gpio_table[] = {
/* Pad configuration was generated automatically using intelp2m utility */
void mainboard_configure_gpios(void)
{
bool result;
//bool result;

gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));

/* dGPU power on sequence */
mdelay(4);
/*mdelay(4);
gpio_set(DGPU_PWR_EN, 1);
result = wait_ms(200, gpio_get(DGPU_PWRGD) == 1);
if (result) {
Expand All @@ -324,6 +324,6 @@ void mainboard_configure_gpios(void)
} else {
printk(BIOS_ERR, "dGPU failed to power on, turning off\n");
gpio_set(DGPU_PWR_EN, 0);
}
}*/
mdelay(50);
}