summaryrefslogtreecommitdiff
path: root/board/armadeus/apf27/apf27.c
diff options
context:
space:
mode:
authortrem <tremyfr@yahoo.fr>2013-09-10 22:08:40 +0200
committerStefano Babic <sbabic@denx.de>2013-09-11 09:35:43 +0200
commitb5e7f1bc4b899ea34e838d5d60b3e6f8e479d0a9 (patch)
tree46cff0e3a3b49710cc0f0bbbf5f69b0962a81dd6 /board/armadeus/apf27/apf27.c
parentbcc05c7aeb5507125b463fca3c98679d9c483919 (diff)
downloadu-boot-imx-b5e7f1bc4b899ea34e838d5d60b3e6f8e479d0a9.zip
u-boot-imx-b5e7f1bc4b899ea34e838d5d60b3e6f8e479d0a9.tar.gz
u-boot-imx-b5e7f1bc4b899ea34e838d5d60b3e6f8e479d0a9.tar.bz2
apf27: add FPGA support for the apf27 board
Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr> Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/armadeus/apf27/apf27.c')
-rw-r--r--board/armadeus/apf27/apf27.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/armadeus/apf27/apf27.c b/board/armadeus/apf27/apf27.c
index c0d9c41..30e720d 100644
--- a/board/armadeus/apf27/apf27.c
+++ b/board/armadeus/apf27/apf27.c
@@ -19,6 +19,7 @@
#include <asm/errno.h>
#include "apf27.h"
#include "crc.h"
+#include "fpga.h"
DECLARE_GLOBAL_DATA_PTR;
@@ -174,6 +175,10 @@ int board_init(void)
apf27_setup_port();
apf27_iomux_init();
apf27_devices_init();
+#if defined(CONFIG_FPGA)
+ APF27_init_fpga();
+#endif
+
return 0;
}