[U-Boot] [U-Boot, 3/6] board/BuR/common: add 'brdefaulip_setup' function

Tom Rini trini at konsulko.com
Sat Apr 27 14:44:24 UTC 2019


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 <hannes.schmelzer at br-automation.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20190427/13cc4add/attachment.sig>


More information about the U-Boot mailing list