From: Tom Rini Date: Sat, 12 Sep 2015 08:47:33 -0400 Subject: [U-Boot] board/BuR: simplify default IP-setup on B&R boards. In-Reply-To: <1440503741-3685-1-git-send-email-oe5hpm@oevsv.at> References: <1440503741-3685-1-git-send-email-oe5hpm@oevsv.at> Message-ID: <20150912124733.GX26226@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, Aug 25, 2015 at 01:55:41PM +0200, Hannes Petermaier wrote: > To simplify and having a common default IP-setup on all B&R boards we > introduce an environment variable "brdefaultip" which does following. > > Test if ${ipaddr} is empty, if yes it set's up some defaults: > - ipaddr : 192.168.60.1 > - netmask : 255.255.255.0 > - gatewayip: 192.168.60.254 > - serverip : 192.168.60.254 > > This environment is ran from CONFIG_PREBOOT. > > All other "tricks" are dropped. > > Signed-off-by: Hannes Schmelzer > Reviewed-by: Tom Rini > Acked-by: Joe Hershberger 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: