From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sun, 25 Oct 2015 11:29:26 +0100 Subject: [U-Boot] [PATCH v4] net: TFTP: variables cleanup and addition In-Reply-To: <1444600977-16795-1-git-send-email-albert.aribaud@3adev.fr> References: <1444600977-16795-1-git-send-email-albert.aribaud@3adev.fr> Message-ID: <20151025112926.31f8aba2@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 12 Oct 2015 00:02:57 +0200, Albert ARIBAUD (3ADEV) wrote: > TFTP source and destination port variable names are > 'tftpsrcp' and 'tftpdstp' in the code, but 'tftpsrcport' > and 'tftpdstport' in the README file. Fix the README. > > Add environment variable 'tftptimeoutcountmax'. As per the > comments about the global variable tftp_timeout_count_max, > make sure tftptimeoutcountmax is nonnegative. > > Introduce configuration option CONFIG_NET_TFTP_VARS, > which controls whether environment variables tftpblocksize, > tftptimeout, and tftptimoueoutcountmax are read by the TFTP > client code. CONFIG_NET_TFTP_VARS defaults to y but can be > set to n by targets with to tight size contraints. > > Make bf527-ezkit set CONFIG_NET_TFTP_VARS to n to keep the > target size below limit. > --- Joe, does it work for bf527-ezkit? Amicalement, -- Albert.