aboutsummaryrefslogtreecommitdiff
path: root/board/xilinx/common/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/common/board.c')
-rw-r--r--board/xilinx/common/board.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
index bcdd3ae4f1..cdc06a39ce 100644
--- a/board/xilinx/common/board.c
+++ b/board/xilinx/common/board.c
@@ -16,6 +16,7 @@
#include <dm.h>
#include <i2c_eeprom.h>
#include <net.h>
+#include <generated/dt.h>
#include "fru.h"
@@ -425,3 +426,13 @@ int board_late_init_xilinx(void)
return 0;
}
#endif
+
+int __maybe_unused board_fit_config_name_match(const char *name)
+{
+ debug("%s: Check %s, default %s\n", __func__, name, DEVICE_TREE);
+
+ if (!strcmp(name, DEVICE_TREE))
+ return 0;
+
+ return -1;
+}