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 | |
Neil Armstrong | abb6f16 | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 7 | #include <dm.h> |
Simon Glass | 9d1f619 | 2019-08-02 09:44:25 -0600 | [diff] [blame] | 8 | #include <env_internal.h> |
Simon Glass | 9758973 | 2020-05-10 11:40:02 -0600 | [diff] [blame] | 9 | #include <init.h> |
Simon Glass | 274e0b0 | 2020-05-10 11:39:56 -0600 | [diff] [blame] | 10 | #include <net.h> |
Neil Armstrong | abb6f16 | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 11 | #include <asm/io.h> |
| 12 | #include <asm/arch/eth.h> |
| 13 | |
| 14 | int misc_init_r(void) |
| 15 | { |
Neil Armstrong | 33ab4f5 | 2021-02-25 09:44:38 +0100 | [diff] [blame] | 16 | meson_generate_serial_ethaddr(); |
Neil Armstrong | abb6f16 | 2019-07-22 11:36:14 +0200 | [diff] [blame] | 17 | |
| 18 | return 0; |
| 19 | } |