diff options
author | Dirk Eibach <eibach@gdsys.de> | 2012-04-27 10:33:46 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2012-04-30 15:01:29 +0200 |
commit | 0e60aa85c82863f34cb13145caa1d0c5255b977b (patch) | |
tree | 6754e504220e6ae94ab39058021815028bc4c783 /board/gdsys/405ep | |
parent | 530846b3c7099ffa40b71a7985256ed03dd61ea7 (diff) | |
download | u-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/405ep')
-rw-r--r-- | board/gdsys/405ep/405ep.c | 3 | ||||
-rw-r--r-- | board/gdsys/405ep/dlvision-10g.c | 4 | ||||
-rw-r--r-- | board/gdsys/405ep/io.c | 4 | ||||
-rw-r--r-- | board/gdsys/405ep/iocon.c | 2 | ||||
-rw-r--r-- | board/gdsys/405ep/neo.c | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/board/gdsys/405ep/405ep.c b/board/gdsys/405ep/405ep.c index bea671e..bc9b7d0 100644 --- a/board/gdsys/405ep/405ep.c +++ b/board/gdsys/405ep/405ep.c @@ -105,7 +105,8 @@ int board_early_init_r(void) gd405ep_set_fpga_reset(0); for (k = 0; k < CONFIG_SYS_FPGA_COUNT; ++k) { - ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(k); + struct ihs_fpga *fpga = + (struct ihs_fpga *)CONFIG_SYS_FPGA_BASE(k); #ifdef CONFIG_SYS_FPGA_NO_RFL_HI u16 *reflection_target = &fpga->reflection_low; #else diff --git a/board/gdsys/405ep/dlvision-10g.c b/board/gdsys/405ep/dlvision-10g.c index d7e0d66..644493b 100644 --- a/board/gdsys/405ep/dlvision-10g.c +++ b/board/gdsys/405ep/dlvision-10g.c @@ -95,7 +95,7 @@ static unsigned int get_mc2_present(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); @@ -263,7 +263,7 @@ int checkboard(void) int last_stage_init(void) { - ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(0); + struct ihs_fpga *fpga = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(0); u16 versions = in_le16(&fpga->versions); print_fpga_info(0); diff --git a/board/gdsys/405ep/io.c b/board/gdsys/405ep/io.c index 85b61f1..070dcbb 100644 --- a/board/gdsys/405ep/io.c +++ b/board/gdsys/405ep/io.c @@ -117,7 +117,7 @@ int checkboard(void) static void print_fpga_info(void) { - ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(0); + struct ihs_fpga *fpga = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(0); u16 versions = in_le16(&fpga->versions); u16 fpga_version = in_le16(&fpga->fpga_version); u16 fpga_features = in_le16(&fpga->fpga_features); @@ -179,7 +179,7 @@ static void print_fpga_info(void) */ int last_stage_init(void) { - ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(0); + struct ihs_fpga *fpga = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(0); unsigned int k; print_fpga_info(); diff --git a/board/gdsys/405ep/iocon.c b/board/gdsys/405ep/iocon.c index 0ffdb38..0fc7db2 100644 --- a/board/gdsys/405ep/iocon.c +++ b/board/gdsys/405ep/iocon.c @@ -92,7 +92,7 @@ int checkboard(void) static void print_fpga_info(void) { - ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(0); + struct ihs_fpga *fpga = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(0); u16 versions = in_le16(&fpga->versions); u16 fpga_version = in_le16(&fpga->fpga_version); u16 fpga_features = in_le16(&fpga->fpga_features); diff --git a/board/gdsys/405ep/neo.c b/board/gdsys/405ep/neo.c index f38edd2..d336e55 100644 --- a/board/gdsys/405ep/neo.c +++ b/board/gdsys/405ep/neo.c @@ -70,7 +70,7 @@ int checkboard(void) static void print_fpga_info(void) { - ihs_fpga_t *fpga = (ihs_fpga_t *) CONFIG_SYS_FPGA_BASE(0); + struct ihs_fpga *fpga = (struct ihs_fpga *) CONFIG_SYS_FPGA_BASE(0); u16 versions = in_le16(&fpga->versions); u16 fpga_version = in_le16(&fpga->fpga_version); u16 fpga_features = in_le16(&fpga->fpga_features); |