summaryrefslogtreecommitdiff
path: root/board/gdsys/405ex/io64.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2012-12-13 20:49:02 +0000
committerTom Rini <trini@ti.com>2013-02-04 09:05:44 -0500
commit923a662f2fb09aa67c1ec0de25474c218fad2690 (patch)
tree0619dffdc10d04edd41fbc216e6d81608fd5aac1 /board/gdsys/405ex/io64.c
parent7273ccec61e26adef6149ddaf261217b30c4f8a9 (diff)
downloadu-boot-imx-923a662f2fb09aa67c1ec0de25474c218fad2690.zip
u-boot-imx-923a662f2fb09aa67c1ec0de25474c218fad2690.tar.gz
u-boot-imx-923a662f2fb09aa67c1ec0de25474c218fad2690.tar.bz2
ppc: Move fpga_state to arch_global_data
Move this field into arch_global_data and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/gdsys/405ex/io64.c')
-rw-r--r--board/gdsys/405ex/io64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/gdsys/405ex/io64.c b/board/gdsys/405ex/io64.c
index 41fdef7..7d2899d 100644
--- a/board/gdsys/405ex/io64.c
+++ b/board/gdsys/405ex/io64.c
@@ -359,7 +359,7 @@ void gd405ex_init(void)
if (i2c_probe(0x22)) { /* i2c_probe returns 0 on success */
for (k = 0; k < CONFIG_SYS_FPGA_COUNT; ++k)
- gd->fpga_state[k] |= FPGA_STATE_PLATFORM;
+ gd->arch.fpga_state[k] |= FPGA_STATE_PLATFORM;
} else {
pca9698_direction_output(0x22, 39, 1);
}