summaryrefslogtreecommitdiff
path: root/board/ti
diff options
context:
space:
mode:
authorDaniel Allred <d-allred@ti.com>2016-05-19 19:10:54 -0500
committerTom Rini <trini@konsulko.com>2016-05-27 15:41:38 -0400
commit62a09f0535b223c8acbf85da8d4b1acf1667826e (patch)
tree9894bd0c867f42815efd83484f43ce26c1a825ed /board/ti
parent1aad38f6e614f129fc987e9dd310cb6727e42363 (diff)
downloadu-boot-imx-62a09f0535b223c8acbf85da8d4b1acf1667826e.zip
u-boot-imx-62a09f0535b223c8acbf85da8d4b1acf1667826e.tar.gz
u-boot-imx-62a09f0535b223c8acbf85da8d4b1acf1667826e.tar.bz2
ARM: omap5: add ft_board_setup for dra7xx/am57xx
Adds the board specific ft_board_setup() functions that are called when CONFIG_OF_BOARD_SETUP is defined. These functions will currently just call the ft_cpu_setup() function. Adds CONFIG_OF_BOARD_SETUP to the defconfig files for dra72_evm, dra74_evm, and am57xx_evm. Signed-off-by: Daniel Allred <d-allred@ti.com> Signed-off-by: Madan Srinivas <madans@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti')
-rw-r--r--board/ti/am57xx/board.c9
-rw-r--r--board/ti/dra7xx/evm.c9
2 files changed, 18 insertions, 0 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 86b8f6e..9904047 100644
--- a/board/ti/am57xx/board.c
+++ b/board/ti/am57xx/board.c
@@ -686,3 +686,12 @@ int board_early_init_f(void)
return 0;
}
#endif
+
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
+int ft_board_setup(void *blob, bd_t *bd)
+{
+ ft_cpu_setup(blob, bd);
+
+ return 0;
+}
+#endif
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 9bd71d8..d01c785 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -718,3 +718,12 @@ int board_early_init_f(void)
return 0;
}
#endif
+
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
+int ft_board_setup(void *blob, bd_t *bd)
+{
+ ft_cpu_setup(blob, bd);
+
+ return 0;
+}
+#endif