Neil Armstrong | b160fac | 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 | f3998fd | 2019-08-02 09:44:25 -0600 | [diff] [blame] | 9 | #include <env_internal.h> |
Simon Glass | 691d719 | 2020-05-10 11:40:02 -0600 | [diff] [blame] | 10 | #include <init.h> |
Simon Glass | 90526e9 | 2020-05-10 11:39:56 -0600 | [diff] [blame] | 11 | #include <net.h> |
Neil Armstrong | b160fac | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 12 | #include <asm/io.h> |
| 13 | #include <asm/arch/eth.h> |
| 14 | |
| 15 | int misc_init_r(void) |
| 16 | { |
Neil Armstrong | 2fbd370 | 2021-02-25 09:44:38 +0100 | [diff] [blame] | 17 | meson_generate_serial_ethaddr(); |
Neil Armstrong | b160fac | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 18 | |
| 19 | return 0; |
| 20 | } |