blob: e60dc3a622e361ff68c14a73b821bf31e557a554 [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>
Neil Armstrongabb6f162019-07-22 11:36:14 +020010#include <asm/io.h>
11#include <asm/arch/eth.h>
12
13int misc_init_r(void)
14{
15 meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
16
17 return 0;
18}