blob: 47a51710dc9b5e52c8e20656e5231f4ea3d2166d [file] [log] [blame]
Neil Armstrongabb6f162019-07-22 11:36:14 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2016 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 */
6
7#include <common.h>
8#include <dm.h>
Simon Glass9d1f6192019-08-02 09:44:25 -06009#include <env_internal.h>
Simon Glass97589732020-05-10 11:40:02 -060010#include <init.h>
Simon Glass274e0b02020-05-10 11:39:56 -060011#include <net.h>
Neil Armstrongabb6f162019-07-22 11:36:14 +020012#include <asm/io.h>
13#include <asm/arch/eth.h>
14
15int misc_init_r(void)
16{
17 meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
18
19 return 0;
20}