From: Tom Rini Date: Sat, 27 Apr 2019 10:44:24 -0400 Subject: [U-Boot] [U-Boot, 3/6] board/BuR/common: add 'brdefaulip_setup' function In-Reply-To: <1554898396-5549-3-git-send-email-hannes.schmelzer@br-automation.com> References: <1554898396-5549-3-git-send-email-hannes.schmelzer@br-automation.com> Message-ID: <20190427144424.GX31207@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 Wed, Apr 10, 2019 at 02:13:13PM +0200, Hannes Schmelzer wrote: > Many B&R boards are equipped with an I2C-EEPROM where various > information can be stored. > > Today there is only a single byte for 'board_id' used. > > We write this 'board_id' into environment for later use during boot. > > If the value != 0xFF, meaning the byte is programmed, we modify the > "brdefaultip" environment variable for setting an IP-Address based on > board_id. > > Signed-off-by: Hannes Schmelzer Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: