]> git.baikalelectronics.ru Git - uboot.git/commit
toradex: tdx-cfg-block: Cleanup interactive cfg block creation
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Thu, 21 Jul 2022 13:17:34 +0000 (15:17 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 25 Jul 2022 14:12:00 +0000 (16:12 +0200)
commit2a5b08575608e70c37ed7ae6fe4848c6750e6a84
tree071f5f21a26cad8f0ded1851a52a481d3f0a4ea7
parent822ea7b6f8430a80c60598b06b41327a63913e60
toradex: tdx-cfg-block: Cleanup interactive cfg block creation

Simplify interactive config block creation code, instead of having a
a long list of questions and a complex tree of preprocessor directive to
guess the exact SKU, just ask the user to select it from a list.

The modules list is filtered out to include only SKUs that are supported
by the specific u-boot binary in execution.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
board/toradex/common/tdx-cfg-block.c
board/toradex/common/tdx-cfg-block.h
board/toradex/common/tdx-common.c