Add a get_board() method to servod.

The new method is meant to support clients that need to determine
their behavior based on the kind of DUT board the Servo is
controlling.  The method returns the board (if any) that was passed
via the --board option.

TEST=integration testing with a corresponding autotest client

Change-Id: Ic7f0d6467c5ab7faf030e0ec26a938509bd6ae03
Reviewed-by: Simran Basi <>
Tested-by: Richard Barnette <>
Reviewed-by: Todd Broch <>
Reviewed-by: Tom Wai-Hong Tam <>
Commit-Queue: Richard Barnette <>
2 files changed