summaryrefslogtreecommitdiff
path: root/board/kontron/sl-mx8mm/spl.c
diff options
context:
space:
mode:
authorFrieder Schrempf <frieder.schrempf@kontron.de>2022-08-24 16:59:15 +0300
committerStefano Babic <sbabic@denx.de>2022-10-20 18:35:51 +0300
commitdfbdc69c5d8c8b7ddd467191317d19c8bc038676 (patch)
treec9f358c90bc66ce8d956da3bb55b96e4eb2f4174 /board/kontron/sl-mx8mm/spl.c
parent3b846df8ab46d1c40514747b9de6aef97460467d (diff)
downloadu-boot-dfbdc69c5d8c8b7ddd467191317d19c8bc038676.tar.xz
imx: kontron-sl-mx8mm: Adjust devicetree names, compatibles and model strings
This adjusts the names of the boards and SoMs to the official naming used by Kontron marketing. These changes also affect devicetree names and compatibles. The same changes have been submitted to the Linux kernel. Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> Reviewed-by: Fabio Estevam <festevam@denx.de>
Diffstat (limited to 'board/kontron/sl-mx8mm/spl.c')
-rw-r--r--board/kontron/sl-mx8mm/spl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/kontron/sl-mx8mm/spl.c b/board/kontron/sl-mx8mm/spl.c
index affdc136e1..00e63659f4 100644
--- a/board/kontron/sl-mx8mm/spl.c
+++ b/board/kontron/sl-mx8mm/spl.c
@@ -150,7 +150,8 @@ int do_board_detect(void)
int board_fit_config_name_match(const char *name)
{
if (gd->board_type == BOARD_TYPE_KTN_N801X && is_imx8mm() &&
- !strncmp(name, "imx8mm-kontron-n801x-s", 22))
+ (!strcmp(name, "imx8mm-kontron-n801x-s") ||
+ !strcmp(name, "imx8mm-kontron-bl")))
return 0;
return -1;