summaryrefslogtreecommitdiff
path: root/board/ve8313
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2010-08-19 01:48:14 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-08-19 13:24:00 -0500
commita2243b84bf5aa1f789a19e12f03849702d418986 (patch)
tree5ebfb3cdf07aaeae0f8d3ce2b2cb1c8d3fb1143a /board/ve8313
parent0e159024ea0bc1c7ee2c31e98c5e45b08d42b4e7 (diff)
downloadu-boot-imx-a2243b84bf5aa1f789a19e12f03849702d418986.zip
u-boot-imx-a2243b84bf5aa1f789a19e12f03849702d418986.tar.gz
u-boot-imx-a2243b84bf5aa1f789a19e12f03849702d418986.tar.bz2
powerpc/83xx: Fix build issue with ve8313 board due to lbus changes
We get two build errors: fsl_elbc_nand.c: In function 'fsl_elbc_run_command': fsl_elbc_nand.c:231: error: 'fsl_lbc_t' has no member named 'lsor' make[1]: *** [/work/wd/tmp-ppc/drivers/mtd/nand/fsl_elbc_nand.o] Error 1 and ve8313.c: In function 'initdram': ve8313.c:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ve8313.c:104: error: 'lbc' undeclared (first use in this function) ve8313.c:104: error: (Each undeclared identifier is reported only once ve8313.c:104: error: for each function it appears in.) ve8313.c:104: error: 'immap_t' has no member named 'lbus' make[1]: *** [ve8313.o] Error 1 make: *** [board/ve8313/libve8313.a] Error 2 Due to changes to unifiy local bus struct definitions. Reported-by: Wolfgang Denk <wd@denx.de> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/ve8313')
-rw-r--r--board/ve8313/ve8313.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ve8313/ve8313.c b/board/ve8313/ve8313.c
index 8ba1b19..2272ff0 100644
--- a/board/ve8313/ve8313.c
+++ b/board/ve8313/ve8313.c
@@ -101,7 +101,7 @@ static long fixed_sdram(void)
phys_size_t initdram(int board_type)
{
volatile immap_t *im = (volatile immap_t *)CONFIG_SYS_IMMR;
- volatile fsl_lbus_t *lbc = &im->lbus;
+ volatile fsl_lbc_t *lbc = &im->im_lbc;
u32 msize;
if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im)