BIOS: allow BIOS to specify TFTP server port
authorEwen McNeill <ewen@naos.co.nz>
Thu, 18 Jan 2018 01:03:35 +0000 (12:03 +1100)
committerEwen McNeill <ewen@naos.co.nz>
Thu, 18 Jan 2018 01:03:35 +0000 (12:03 +1100)
commit97f381baa68fca43c77812c69344d70f5d35a906
tree2d57f4833eb3b4b51f5a1c44fd3585b42547fcfe
parentab1146e1b01132b07aceaff65f96a3e6956dd86d
BIOS: allow BIOS to specify TFTP server port

Swaps hard coded PORT_OUT in tftp.c for parameter on the tftp_get()
and tftp_put() functions.  Allow TFTP_SERVER_PORT used by BIOS to be
set at compile time from compiler defines.
litex/soc/software/bios/boot.c
litex/soc/software/include/net/tftp.h
litex/soc/software/libnet/tftp.c