On 9/1/20 3:39 AM, Bin Meng wrote: > From: Bin Meng <bin.m...@windriver.com> > > When cadence_gem model was created for Xilinx boards, the PHY address > was hard-coded to 23 in the GEM model. Now that we have introduced a > property we can use that to tell GEM model what our PHY address is. > Change all boards' GEM 'phy-addr' property value to 23, and set the > PHY address default value to 0 in the GEM model. > > Signed-off-by: Bin Meng <bin.m...@windriver.com> > > --- > > Changes in v3: > - use the correct (Object *) to set the 'phy-addr' in xlnx-zynqmp.c > > hw/arm/xilinx_zynq.c | 1 + > hw/arm/xlnx-versal.c | 1 + > hw/arm/xlnx-zynqmp.c | 2 ++ > hw/net/cadence_gem.c | 6 +++--- > 4 files changed, 7 insertions(+), 3 deletions(-) >
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>