when similar code went into depthcharge, there was a lot of
push-back on querying the EC for data that's effectively
static configuration. for example, the number of type-C
ports and the underlying USB port mapping is static configuration.
can we extract such information from the device tree?
3 comments:
TEST= Tested boots from USB Type-C flash drive and Type-C to Type-A
dongle on Volteer
this code isn't used to boot from USB.
File src/ec/google/chromeec/ec.c:
Patch Set #8, Line 1381: EC_CMD_CHARGE_PORT_COUNT
EC_CMD_USB_PD_PORTS
Patch Set #8, Line 1490: reserved
we're planning to remove this hack.
To view, visit change 42078. To unsubscribe, or for help writing mail filters, visit settings.