FMC: make eeprom attribute writable
authorAlessandro Rubini <rubini@gnudd.com>
Sat, 22 Feb 2014 08:11:12 +0000 (09:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 23:12:08 +0000 (15:12 -0800)
commit5c9a87367daf292244bd9bb3e67516dfa0027516
treec62996f9f46349aa3dfb86330ae7ec45ae2e0ad9
parentdd97b2410e70d881a362e5b31b702f59c21e0da6
FMC: make eeprom attribute writable

This allows easier modification to the eeprom than loading the
fmc-write-eeprom module.  The carrier driver will refuse writing if
the FPGA is not running the golden gateware image, so writing in
practice is only available at manufacture/development time.

Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Acked-by: Juan David Gonzalez Cobas <dcobas@cern.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/fmc/fmc-write-eeprom.txt
drivers/fmc/fmc-core.c