diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2020-05-21 15:06:25 +0200 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2020-06-13 23:12:17 +0530 |
commit | fedfa374fff3d1c82464e7c0ca3f6c088e3197e0 (patch) | |
tree | e1e9f83f9d5da02c552d759439d2eb584759df3d /include/atmel_hlcdc.h | |
parent | 1c162722d7c7f16b8a1bf3818a0991f373eda869 (diff) | |
download | u-boot-fedfa374fff3d1c82464e7c0ca3f6c088e3197e0.tar.gz |
board: ti: use positive logic to detect idk boards
am57x_idk_lcd_detect() exits immediately if a known board not having
an LCD is found, i.e. a non-IDK board. This is annoying as we have to
remember to add an extra OR clause for every new non-IDK board.
Add a board_is_ti_idk() macro so that the logic becomes positive (detect
LCD on IDK boards instead of not-known-without-LCD boards). Even more
important, add the macro just below the board_is_*_idk() macros, so it is
easy to remember to update it when adding a new IDK.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Diffstat (limited to 'include/atmel_hlcdc.h')
0 files changed, 0 insertions, 0 deletions