summaryrefslogtreecommitdiff
path: root/board/siemens
diff options
context:
space:
mode:
authorSu Baocheng <baocheng.su@siemens.com>2023-02-28 21:19:10 +0300
committerTom Rini <trini@konsulko.com>2023-03-29 18:58:26 +0300
commitffbd5b29a4820a874520273c9140d7d125500af7 (patch)
tree49fbf709ad6af636ace8e783e03cab4e39edf6f5 /board/siemens
parentea0f45d18708db2b21e2b771556b3ba1d6a65ed4 (diff)
downloadu-boot-ffbd5b29a4820a874520273c9140d7d125500af7.tar.xz
arm: dts: iot2050: Use the auto generator nodes for fdt
Refactor according to the entry `fit: Entry containing a FIT` of document tools/binman/README.entries. As the generator uses the device tree name for the config description, board_fit_config_name_match requires a small adjustment as well. Signed-off-by: Su Baocheng <baocheng.su@siemens.com> [Jan: re-add now required CONFIG_OF_LIST, update config matching] Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/siemens')
-rw-r--r--board/siemens/iot2050/board.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/board/siemens/iot2050/board.c b/board/siemens/iot2050/board.c
index dbf893000a..57d7009e8c 100644
--- a/board/siemens/iot2050/board.c
+++ b/board/siemens/iot2050/board.c
@@ -154,6 +154,9 @@ int board_fit_config_name_match(const char *name)
struct iot2050_info *info = IOT2050_INFO_DATA;
char upper_name[32];
+ /* skip the prefix "k3-am65x8-" */
+ name += 10;
+
if (info->magic != IOT2050_INFO_MAGIC ||
strlen(name) >= sizeof(upper_name))
return -1;