Neil Armstrong | b72794e | 2018-09-05 15:57:11 +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 | 691d719 | 2020-05-10 11:40:02 -0600 | [diff] [blame] | 9 | #include <init.h> |
Simon Glass | 90526e9 | 2020-05-10 11:39:56 -0600 | [diff] [blame] | 10 | #include <net.h> |
Neil Armstrong | b72794e | 2018-09-05 15:57:11 +0200 | [diff] [blame] | 11 | #include <asm/io.h> |
| 12 | #include <asm/arch/axg.h> |
| 13 | #include <asm/arch/sm.h> |
| 14 | #include <asm/arch/eth.h> |
| 15 | #include <asm/arch/mem.h> |
| 16 | |
Neil Armstrong | b72794e | 2018-09-05 15:57:11 +0200 | [diff] [blame] | 17 | int misc_init_r(void) |
| 18 | { |
Neil Armstrong | 394c6b0 | 2020-09-10 10:50:39 +0200 | [diff] [blame] | 19 | meson_generate_serial_ethaddr(); |
| 20 | |
Neil Armstrong | b72794e | 2018-09-05 15:57:11 +0200 | [diff] [blame] | 21 | return 0; |
| 22 | } |