blob: 52f6d0878003cf45ad51c832494ab1e6a23e93f1 [file] [log] [blame]
set(LEGEND_REVISIONS "25hdd" "25ssd" "35")
if (NOT DEFINED BOARD_REVISION)
set(BOARD_REVISION "25hdd")
else()
if (NOT BOARD_REVISION IN_LIST LEGEND_REVISIONS)
message(FATAL_ERROR "${BOARD_REVISION} is not a valid revision for Legend. Accepted revisions: ${LEGEND_REVISIONS}")
endif()
endif()