diff options
| author | Jean-Christophe Dubois | 2020-07-03 17:59:41 +0200 |
|---|---|---|
| committer | Peter Maydell | 2020-07-03 17:59:41 +0200 |
| commit | 456914afc6348e57441bb80e9f0cc4396b26dcbd (patch) | |
| tree | 6c1837938c1c612bf51eba1c1d5def26e106be9f /include | |
| parent | Add a phy-num property to the i.MX FEC emulator (diff) | |
| download | qemu-456914afc6348e57441bb80e9f0cc4396b26dcbd.tar.gz qemu-456914afc6348e57441bb80e9f0cc4396b26dcbd.tar.xz qemu-456914afc6348e57441bb80e9f0cc4396b26dcbd.zip | |
Add the ability to select a different PHY for each i.MX6UL FEC interface
Add properties to the i.MX6UL processor to be able to select a
particular PHY on the MDIO bus for each FEC device.
Signed-off-by: Jean-Christophe Dubois <jcd@tribudubois.net>
Message-id: ea1d604198b6b73ea6521676e45bacfc597aba53.1593296112.git.jcd@tribudubois.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/arm/fsl-imx6ul.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/fsl-imx6ul.h b/include/hw/arm/fsl-imx6ul.h index 37c89cc5f9..fcbaf3dc86 100644 --- a/include/hw/arm/fsl-imx6ul.h +++ b/include/hw/arm/fsl-imx6ul.h @@ -87,6 +87,8 @@ typedef struct FslIMX6ULState { MemoryRegion caam; MemoryRegion ocram; MemoryRegion ocram_alias; + + uint32_t phy_num[FSL_IMX6UL_NUM_ETHS]; } FslIMX6ULState; enum FslIMX6ULMemoryMap { |
