mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-17 18:41:36 +02:00
For board IDs a common approach is to set aside several GPIOs for use in determining the board ID. This can provide information about board features and the revision. Add a function that turns a list of GPIOs into an integer by assigning each GPIO to a single bit. Signed-off-by: Simon Glass <sjg@chromium.org>