Neil Armstrong | abb6f16 | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 1 | // 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 Glass | 9d1f619 | 2019-08-02 09:44:25 -0600 | [diff] [blame] | 9 | #include <env_internal.h> |
Neil Armstrong | abb6f16 | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 10 | #include <asm/io.h> |
| 11 | #include <asm/arch/eth.h> |
| 12 | |
| 13 | int misc_init_r(void) |
| 14 | { |
| 15 | meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0); |
| 16 | |
| 17 | return 0; |
| 18 | } |