blob: 69fd29d4fecc6cee6f4c27134eb5a41def7af783 [file] [log] [blame]
Jerome Brunetd1e5b142019-02-12 14:23:25 +01001// 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>
Jerome Brunetd1e5b142019-02-12 14:23:25 +01009#include <asm/io.h>
10#include <asm/arch/axg.h>
11#include <asm/arch/sm.h>
12#include <asm/arch/eth.h>
13#include <asm/arch/mem.h>
14
15int misc_init_r(void)
16{
17 meson_eth_init(PHY_INTERFACE_MODE_RMII,
18 MESON_USE_INTERNAL_RMII_PHY);
19
20 return 0;
21}