diff options
author | Dirk Eibach <eibach@gdsys.de> | 2013-06-26 16:04:26 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2013-07-25 19:35:42 +0200 |
commit | aba27acf6711dce0ef1507f2f9f02a80d70a45da (patch) | |
tree | f77350104f847ab46c990c7119cb705f51089a09 /include/configs/iocon.h | |
parent | aaf5e825606a70ddc8fca8e366d8c16a6fd3cc7c (diff) | |
download | u-boot-aba27acf6711dce0ef1507f2f9f02a80d70a45da.zip u-boot-aba27acf6711dce0ef1507f2f9f02a80d70a45da.tar.gz u-boot-aba27acf6711dce0ef1507f2f9f02a80d70a45da.tar.bz2 |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/iocon.h b/include/configs/iocon.h index 32d9050..67a7ab9 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 |