[PATCH v5] Lattice ECP3 FPGA: Correct endianness

2014-07-24 Thread Jean-Michel Hautbois
This code corrects endianness and avoids a sparse error. Tested with Lattice ECP3-35 with Freescale i.MX6. It also sends uevent in order to load it. Signed-off-by: Jean-Michel Hautbois --- drivers/misc/lattice-ecp3-config.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-)

[PATCH v5] Lattice ECP3 FPGA: Correct endianness

2014-07-24 Thread Jean-Michel Hautbois
This code corrects endianness and avoids a sparse error. Tested with Lattice ECP3-35 with Freescale i.MX6. It also sends uevent in order to load it. Signed-off-by: Jean-Michel Hautbois jean-michel.hautb...@vodalys.com --- drivers/misc/lattice-ecp3-config.c | 16 +--- 1 file changed,