From: Tom Rini Date: Mon, 8 Dec 2014 16:41:37 -0500 Subject: [U-Boot] net: bootp: as CONFIG_BOOTP_SERVERIP is defined, keep bootfile not changed In-Reply-To: <1416287228-12354-1-git-send-email-josh.wu@atmel.com> References: <1416287228-12354-1-git-send-email-josh.wu@atmel.com> Message-ID: <20141208214137.GE20704@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Nov 18, 2014 at 01:07:08PM +0800, Wu, Josh wrote: > Currenly when CONFIG_BOOTP_SERVERIP is defined, the SERVERIP is not changed > when receive the BOOTP packet. But BOOTFILE is changed via BOOTP packet. > > As we will load the BOOTFILE from SERVERIP, if the BOOTFILE is modified > by bootp packet but SERVERIP is not, that is not make sense. > > This patch make SERVERIP and BOOTFILE be consistent. If we define the > CONFIG_BOOTP_SERVERIP, then SERVERIP and BOOTFILE will not changed by > BOOTP packet. Only IP address is changed. > > Signed-off-by: Josh Wu Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: