Add custom DTB support for imx8mm-var-som

Change-type: patch
Signed-off-by: Alexandru Costache <alexandru@balena.io>
This commit is contained in:
Alexandru Costache 2022-09-06 16:08:33 +02:00
parent ba66b10c0e
commit 36544b7d6e
2 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,7 @@ export class ExtraUEnv extends ConfigBackend {
deviceType.endsWith('-nano-2gb-devkit') ||
deviceType.endsWith('-tx2') ||
deviceType.includes('-tx2-nx') ||
/imx8mm-var-som/.test(deviceType) ||
/imx8mm?-var-dart/.test(deviceType)) &&
(await exists(ExtraUEnv.bootConfigPath))
);

View File

@ -273,5 +273,7 @@ const MATCH_TESTS = [
{ type: 'imx8mm-var-dart', supported: true },
{ type: 'imx8mm-var-dart-nrt', supported: true },
{ type: 'imx8mm-var-dart-plt', supported: true },
{ type: 'imx8mm-var-som', supported: true },
{ type: 'imx8m-var-som', supported: false },
{ type: 'imx6ul-var-dart', supported: false },
];