diff options
| author | Andrey Smirnov | 2018-01-11 14:25:38 +0100 |
|---|---|---|
| committer | Peter Maydell | 2018-01-11 14:25:38 +0100 |
| commit | 831858ad9da7eccf4c260c60ed56cff0f1666424 (patch) | |
| tree | 7c22a7c49389ab9426d83356a337e47a53a1bacc /include/hw/net | |
| parent | imx_fec: Fix a typo in imx_enet_receive() (diff) | |
| download | qemu-831858ad9da7eccf4c260c60ed56cff0f1666424.tar.gz qemu-831858ad9da7eccf4c260c60ed56cff0f1666424.tar.xz qemu-831858ad9da7eccf4c260c60ed56cff0f1666424.zip | |
imx_fec: Reserve full FSL_IMX25_FEC_SIZE page for the register file
Some i.MX SoCs (e.g. i.MX7) have FEC registers going as far as offset
0x614, so to avoid getting aborts when accessing those on QEMU, extend
the register file to cover FSL_IMX25_FEC_SIZE(16K) of address space
instead of just 1K.
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: qemu-devel@nongnu.org
Cc: qemu-arm@nongnu.org
Cc: yurovsky@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/net')
| -rw-r--r-- | include/hw/net/imx_fec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/net/imx_fec.h b/include/hw/net/imx_fec.h index 91ef8f89a6..7b3faa4019 100644 --- a/include/hw/net/imx_fec.h +++ b/include/hw/net/imx_fec.h @@ -245,6 +245,7 @@ typedef struct { #define ENET_TX_RING_NUM 3 +#define FSL_IMX25_FEC_SIZE 0x4000 typedef struct IMXFECState { /*< private >*/ |
