8 comments:
BUG=? […]
Oh, I thought we were avoiding ChromeOS specific references.
Is this not the case?
File src/mainboard/google/hatch/variants/baseboard/gpio.c:
Can you do a git blame on this to see why it was set to 1 in the first place? I am suspecting if the […]
It looks like it points back to b/128686027, but it is unclear if this particular change fixed the bug.
With my changes, I do not see the symptoms of this bug(not being able to export gpio control signals in user space).
*num = ARRAY_SIZE(default_sleep_gpio_table);
return default_sleep_gpio_table;
This can just be: […]
Gotcha.
File src/mainboard/google/hatch/variants/helios/gpio.c:
Patch Set #2, Line 161: if (slp_typ == ACPI_S5) {
I believe Craig wants to disable the pads only when entering S5 and leave as is when going to S3.
Furquan is correct.
This particular section simply ensures that power is cut immediately when user issues a shutdown.
This sections does not break S3, setting the gpio base table breaks S3.
*num = ARRAY_SIZE(sleep_gpio_table);
return sleep_gpio_table;
Same comment as baseboard.
Done
File src/mainboard/google/hatch/variants/helios/ramstage.c:
A comment here would be helpful
Done
File src/mainboard/google/hatch/variants/kohaku/gpio.c:
*num = ARRAY_SIZE(sleep_gpio_table);
return sleep_gpio_table;
same comment as baseboard.
Done
File src/mainboard/google/hatch/variants/kohaku/ramstage.c:
Same here
Done
To view, visit change 37459. To unsubscribe, or for help writing mail filters, visit settings.