[U-Boot] [PATCH v2] FPGA: constify Lattice FPGA code
Wolfgang Denk
wd at denx.de
Tue Aug 30 21:02:37 CEST 2011
Dear Stefano Babic,
In message <4E5D23C6.3050208 at denx.de> you wrote:
> On 08/05/2011 02:29 PM, Wolfgang Denk wrote:
> > The Lattice code was missed by commit e6a857d "fpga: constify to fix
> > build warning" resulting in such warnings:
> >
> > fpga.c: In function 'fpga_load':
> > fpga.c:238: warning: passing argument 2 of 'lattice_load' discards qualifiers from pointer target type
> > fpga.c: In function 'fpga_dump':
> > fpga.c:278: warning: passing argument 2 of 'lattice_dump' discards qualifiers from pointer target type
> >
> > Signed-off-by: Wolfgang Denk <wd at denx.de>
> > cc: Stefano Babic <sbabic at denx.de>
>
> Applied to u-boot-imx (it was supposed to be merged into u-boot-imx,
> right ?), thanks.
Well, actually this is generic code that has nothing to do with i.MX
so I intended to pull this myself once a little time had passed to
allow for review comments.
But now you applied it, let's keep it as is.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The question of whether a computer can think is no more interesting
than the question of whether a submarine can swim"
- Edsgar W. Dijkstra
More information about the U-Boot
mailing list