• Wolfgang Denk's avatar
    fpga: constify to fix build warning · e6a857da
    Wolfgang Denk authored
    Fix compiler warning:
    
    cmd_fpga.c:318: warning: passing argument 3 of 'fit_image_get_data'
    from incompatible pointer type
    
    Adding the needed 'const' here entails a whole bunch of additonal
    changes all over the FPGA code.
    Signed-off-by: default avatarWolfgang Denk <wd@denx.de>
    Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>
    Cc: Murray Jensen <Murray.Jensen@csiro.au>
    Acked-by: Andre Schwarz<andre.schwarz@matrix-vision.de>
    e6a857da
virtex2.h 3.88 KB