summaryrefslogtreecommitdiff
path: root/board/gdsys/405ex/io64.c
diff options
context:
space:
mode:
authorDirk Eibach <eibach@gdsys.de>2012-04-27 10:33:46 +0200
committerStefan Roese <sr@denx.de>2012-04-30 15:01:29 +0200
commit0e60aa85c82863f34cb13145caa1d0c5255b977b (patch)
tree6754e504220e6ae94ab39058021815028bc4c783 /board/gdsys/405ex/io64.c
parent530846b3c7099ffa40b71a7985256ed03dd61ea7 (diff)
downloadu-boot-imx-0e60aa85c82863f34cb13145caa1d0c5255b977b.zip
u-boot-imx-0e60aa85c82863f34cb13145caa1d0c5255b977b.tar.gz
u-boot-imx-0e60aa85c82863f34cb13145caa1d0c5255b977b.tar.bz2
powerpc/ppc4xx: Remove typedefs for gdsys FPGA
Signed-off-by: Dirk Eibach <eibach@gdsys.de> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/gdsys/405ex/io64.c')
-rw-r--r--board/gdsys/405ex/io64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/gdsys/405ex/io64.c b/board/gdsys/405ex/io64.c
index 177141d..41fdef7 100644
--- a/board/gdsys/405ex/io64.c
+++ b/board/gdsys/405ex/io64.c
@@ -100,7 +100,7 @@ int misc_init_r(void)
static void print_fpga_info(unsigned dev)
{
- ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(dev);
+ struct ihs_fpga *fpga = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(dev);
u16 versions = in_le16(&fpga->versions);
u16 fpga_version = in_le16(&fpga->fpga_version);
u16 fpga_features = in_le16(&fpga->fpga_features);
@@ -242,8 +242,8 @@ int last_stage_init(void)
{
unsigned int k;
unsigned int fpga;
- ihs_fpga_t *fpga0 = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(0);
- ihs_fpga_t *fpga1 = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(1);
+ struct ihs_fpga *fpga0 = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(0);
+ struct ihs_fpga *fpga1 = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(1);
int failed = 0;
char str_phys[] = "Setup PHYs -";
char str_serdes[] = "Start SERDES blocks";