em100: Support 4 byte address mode
This change adds a command line option to set 3 or 4 byte address
mode for the em100 FPGA. It automatically sets 4 byte address mode
if the selected chip is >16MB, unless 3 byte address mode is set
on the command line.
This does not seem to be necessary with the most recent FPGA version
2.014 but for devices with older versions (I have 2.010) this allows
emulating 32MB SPI flash parts like W25Q256.
Signed-off-by: Duncan Laurie <firstname.lastname@example.org>
Tested-by: build bot (Jenkins) <email@example.com>
Reviewed-by: Angel Pons <firstname.lastname@example.org>
1 file changed