]> git.ipfire.org Git - thirdparty/u-boot.git/commit
xilinx: common: Add support for DM_I2C zynq_board_read_rom_ethaddr()
authorMichal Simek <michal.simek@xilinx.com>
Mon, 21 Jan 2019 15:29:07 +0000 (16:29 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 12 Feb 2019 08:43:00 +0000 (09:43 +0100)
commitab386c7f00a26b3e9e197f8c6a1722b04c07ea3d
treefa4138b84d25a1b233f7dbff7dde395b68b0cfe8
parent58b43e51990b05afb3f8ece0508b6db5eaeaf307
xilinx: common: Add support for DM_I2C zynq_board_read_rom_ethaddr()

It is much easier to point to eeprom which stores information like MAC
address directly via DT. eeprom which contains this information is
pointed by /chosen/xlnx,eeprom parameter.

For example:
        chosen {
                bootargs = "earlycon";
                stdout-path = "serial0:115200n8";
+               xlnx,eeprom = &eeprom;
        };

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/common/board.c