]> git.baikalelectronics.ru Git - uboot.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>
Thu, 14 Feb 2019 13:31:09 +0000 (14:31 +0100)
commitca6e50623619f67cba0f56a9aa53c5c7ac9fd466
tree65ed0e35b28810f8778ffa6bc63f1b433ec11520
parent4f424c2dcdb57815190d7fede08b2930d61ad90d
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