toradex: apalis-imx8: simplify module version handling
authorStefan Eichenberger <stefan.eichenberger@toradex.com>
Wed, 11 Dec 2024 12:18:54 +0000 (13:18 +0100)
committerFabio Estevam <festevam@denx.de>
Sun, 15 Dec 2024 15:34:25 +0000 (12:34 -0300)
commit504ce8e1ea8c645c9e83b083423f6b85be0e55f4
treeea9cae313f545279cfb0e9f001987b1728fbb1f1
parent889bd73816a3c09b33cfc9e1b346ef1eb1eb249a
toradex: apalis-imx8: simplify module version handling

Simplify module version handling by removing the special case for the
Apalis iMX8QM.

The Apalis iMX8QM has been treated as a special case in module version
handling, but was always the default. By removing this special handling,
the code is simplified and easier to maintain.

We will not print the message "Unknown Apalis iMX8 module" anymore.
However, we still handle this because if the config block is missing we
show "MISSING TORADEX CONFIG BLOCK" and if the serial number is unknown
we show "Model: Toradex 0000 UNKNOWN MODULE V1.1A". Therefore, it is
still possible to detect such issues.

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
board/toradex/apalis-imx8/apalis-imx8.c