summaryrefslogtreecommitdiffstats
path: root/include/configs/iocon.h
diff options
context:
space:
mode:
authorDirk Eibach <eibach@gdsys.de>2013-06-26 16:04:26 +0200
committerStefan Roese <sr@denx.de>2013-07-25 19:35:42 +0200
commitaba27acf6711dce0ef1507f2f9f02a80d70a45da (patch)
treef77350104f847ab46c990c7119cb705f51089a09 /include/configs/iocon.h
parentaaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c (diff)
downloadblackbird-obmc-uboot-aba27acf6711dce0ef1507f2f9f02a80d70a45da.tar.gz
blackbird-obmc-uboot-aba27acf6711dce0ef1507f2f9f02a80d70a45da.zip
powerpc/ppc4xx: Use generic accessor functions for gdsys FPGA
A set of accessor functions was added to be able to access not only memory mapped FPGA in a generic way. Thanks to Wolfgang Denk for getting this sorted properly. Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/iocon.h')
-rw-r--r--include/configs/iocon.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/iocon.h b/include/configs/iocon.h
index 32d9050adb..67a7ab9ee3 100644
--- a/include/configs/iocon.h
+++ b/include/configs/iocon.h
@@ -236,6 +236,11 @@ int fpga_gpio_get(int pin);
#define CONFIG_SYS_FPGA_COUNT 1
+#define CONFIG_SYS_FPGA_PTR \
+ { (struct ihs_fpga *)CONFIG_SYS_FPGA0_BASE }
+
+#define CONFIG_SYS_FPGA_COMMON
+
/* Memory Bank 3 (Latches) initialization */
#define CONFIG_SYS_LATCH_BASE 0x7f200000
#define CONFIG_SYS_EBC_PB3AP 0x02025080
OpenPOWER on IntegriCloud