setup_board: Clear the board value if brick was provided.

In a previous change we overrode the board value using the brick's
friendly name, but this caused other logic to fail because the two
values were not expected. Instead, we simply clear the board value. This
reinstates the invariant that exactly one of them must be set.


Change-Id: I6159cfcb8097bd8afbd88c1cce72a2b1d2900061
Trybot-Ready: Gilad Arnold <>
Reviewed-by: Bertrand Simonnet <>
Reviewed-by: Gilad Arnold <>
Tested-by: Gilad Arnold <>
Commit-Queue: Gilad Arnold <>
1 file changed