blob: 02a0e9286cb15c889d180667c9b8f710fcf23ff7 [file] [log] [blame]
Neil Armstrong64b6de92018-09-05 15:57:11 +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>
9#include <environment.h>
10#include <asm/io.h>
11#include <asm/arch/axg.h>
12#include <asm/arch/sm.h>
13#include <asm/arch/eth.h>
14#include <asm/arch/mem.h>
15
Neil Armstrong64b6de92018-09-05 15:57:11 +020016int misc_init_r(void)
17{
18 meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
19
20 return 0;
21}