commit | 1b51e5f4cd2a62673a5391a5e8d47a03daf1c12d | [log] [tgz] |
---|---|---|
author | Troy Kisky <troy.kisky@boundarydevices.com> | Mon Jul 29 12:15:56 2019 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Tue Oct 08 16:35:16 2019 +0200 |
tree | 71dd8f989088afa1d5b5bb6af8c9d3895532e66c | |
parent | cdcaee95188fe8ca75e9701680ce14129c193de0 [diff] |
nitrogen6x: reserve used gpios This prevents messages like gpio@20a0000: get_value: error: gpio GPIO2_2 not reserved when CONFIG_DM_GPIO is enabled. Also, when CONFIG_DM_GPIO is enabled, checkboard is too early to use gpio_get_value, so read it directly on failure. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>