diff options
author | Hannes Schmelzer <hannes.schmelzer@br-automation.com> | 2019-04-10 14:13:13 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-26 17:51:51 -0400 |
commit | 2fac7a82945902c79a14357407e8b63fde1a96e8 (patch) | |
tree | a14bce96f64eff0596e37aeb62e56f5dc6f5ce5c /configs/socfpga_sockit_defconfig | |
parent | 47656d98bd721ef92f944f2c17938e8605c66698 (diff) |
board/BuR/common: add 'brdefaulip_setup' function
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@br-automation.com>
Diffstat (limited to 'configs/socfpga_sockit_defconfig')
0 files changed, 0 insertions, 0 deletions