]> git.dujemihanovic.xyz Git - u-boot.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)
commit472caa69e3480dc8e3fe1dd929b528a599341768
treee82b1ea4c9f312463ec7b9da9932867852778318
parent97d0f9bfdd025f0e7db8ff09238fe88d039c2a70
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