projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab1c482
)
apalis_imx6: add board_fit_config_name_match to support FIT in SPL
author
Ricardo Salveti
<ricardo@foundries.io>
Mon, 2 Sep 2019 21:23:27 +0000
(18:23 -0300)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 8 Oct 2019 14:35:16 +0000
(16:35 +0200)
Only one dtb is currently supported, so match with imx6-apalis.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
board/toradex/apalis_imx6/apalis_imx6.c
patch
|
blob
|
history
diff --git
a/board/toradex/apalis_imx6/apalis_imx6.c
b/board/toradex/apalis_imx6/apalis_imx6.c
index
6421a22
..
496f76b
100644
(file)
--- a/
board/toradex/apalis_imx6/apalis_imx6.c
+++ b/
board/toradex/apalis_imx6/apalis_imx6.c
@@
-1116,6
+1116,16
@@
void board_init_f(ulong dummy)
board_init_r(NULL, 0);
}
+#ifdef CONFIG_SPL_LOAD_FIT
+int board_fit_config_name_match(const char *name)
+{
+ if (!strcmp(name, "imx6-apalis"))
+ return 0;
+
+ return -1;
+}
+#endif
+
void reset_cpu(ulong addr)
{
}