]> git.baikalelectronics.ru Git - uboot.git/commit
test: Load mac address with i2c eeprom
authorSean Anderson <sean.anderson@seco.com>
Thu, 5 May 2022 17:11:42 +0000 (13:11 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 18:00:22 +0000 (14:00 -0400)
commit492f434a1d3f7c688460e3fc6bba5517d91bab1e
treee82b1ea4c9f312463ec7b9da9932867852778318
parenta0f39cafa7664b4dcebbff0b9ef91ba65bd3fd43
test: Load mac address with i2c eeprom

This uses an i2c eeprom to load a mac address using the nvmem interface.
Enable I2C_EEPROM for sandbox SPL since it is the only sandbox config
which doesn't enable it eeprom.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/test.dts
configs/sandbox_spl_defconfig
drivers/misc/i2c_eeprom_emul.c