[U-Boot] [PATCH v2 3/3] riscv: qemu: Imply MACB ethernet for emulation

Anup Patel anup at brainfault.org
Thu Dec 20 05:27:20 UTC 2018


+Michal

On Wed, Dec 19, 2018 at 6:02 PM Anup Patel <anup at brainfault.org> wrote:
>
> From: Anup Patel <anup.patel at wdc.com>
>
> This patch enables Cadence MACB ethernet driver for QEMU RISC-V
> emulation by implying MACB, MII, RGMII and NET_RANDOM_ETHADDR on
> BOARD_SPECIFIC_OPTIONS.
>
> Signed-off-by: Anup Patel <anup.patel at wdc.com>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>  board/emulation/qemu-riscv/Kconfig | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
> index 0d865acf10..5d9611bdc7 100644
> --- a/board/emulation/qemu-riscv/Kconfig
> +++ b/board/emulation/qemu-riscv/Kconfig
> @@ -34,5 +34,9 @@ config BOARD_SPECIFIC_OPTIONS # dummy
>         imply BOARD_LATE_INIT
>         imply OF_BOARD_SETUP
>         imply SIFIVE_SERIAL
> +       imply MACB
> +       imply RGMII
> +       imply MII
> +       imply NET_RANDOM_ETHADDR
>
>  endif
> --
> 2.17.1
>


More information about the U-Boot mailing list