mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-02 09:03:27 +08:00
e5901c94e3
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> |
||
---|---|---|
.. | ||
errno.h | ||
global_data.h | ||
gpio.h | ||
ioctl.h | ||
sections.h | ||
signal.h | ||
u-boot.h | ||
unaligned.h |