Skip to content
  • Kumar Gala's avatar
    powerpc/83xx: Fix build issue with ve8313 board due to lbus changes · a2243b84
    Kumar Gala authored
    
    
    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: default avatarWolfgang Denk <wd@denx.de>
    Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
    a2243b84