]> git.sur5r.net Git - u-boot/blobdiff - board/toradex/colibri_pxa270/colibri_pxa270.c
toradex: allow custom fdt board setup in board file
[u-boot] / board / toradex / colibri_pxa270 / colibri_pxa270.c
index 932b90014ba147910ab9e23ebe9d582f325fe08b..8e948545e3b92708359b18d53a15ee1b2cc94a0d 100644 (file)
@@ -18,6 +18,7 @@
 #include <netdev.h>
 #include <serial.h>
 #include <usb.h>
+#include "../common/tdx-common.h"
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -43,6 +44,13 @@ int checkboard(void)
        return 0;
 }
 
+#if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
+int ft_board_setup(void *blob, bd_t *bd)
+{
+       return ft_common_board_setup(blob, bd);
+}
+#endif
+
 int dram_init(void)
 {
        pxa2xx_dram_init();