aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorStefan Roese <[email protected]>2012-12-07 09:06:59 +0100
committerGreg Kroah-Hartman <[email protected]>2013-01-17 10:25:03 -0800
commit781551df57c792aee291cd80a6aca24cd56cdd71 (patch)
tree0d50fddf9e87033b260a9aeec19f98d87798a9e0 /scripts/objdiff
parent93ce83b6e0ffe8d48dae46bc0983dd3f01ec7e32 (diff)
misc: Add Lattice ECP3 FPGA configuration via SPI
This patch adds support for bitstream configuration (programming / loading) of the Lattice ECP3 FPGA's via the SPI bus. Here an example on my custom MPC5200 based board: $ echo 1 > /sys/class/firmware/spi0.0/loading $ cat fpga_a4m2k.bit > /sys/class/firmware/spi0.0/data $ echo 0 > /sys/class/firmware/spi0.0/loading leads to these messages: lattice-ecp3 spi0.0: FPGA Lattice ECP3-35 detected lattice-ecp3 spi0.0: Configuring the FPGA... lattice-ecp3 spi0.0: FPGA succesfully configured! Signed-off-by: Stefan Roese <[email protected]> Acked-by: Ming Lei <[email protected]> Reviewed-by: Grant Likely <[email protected]> Cc: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions