blob: 4199198496b1817eecf547716f5431249216d441 [file] [log] [blame]
Neil Armstrongb160fac2019-07-22 11:36:14 +02001// 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 Glassf3998fd2019-08-02 09:44:25 -06009#include <env_internal.h>
Simon Glass691d7192020-05-10 11:40:02 -060010#include <init.h>
Simon Glass90526e92020-05-10 11:39:56 -060011#include <net.h>
Neil Armstrongb160fac2019-07-22 11:36:14 +020012#include <asm/io.h>
13#include <asm/arch/eth.h>
14
15int misc_init_r(void)
16{
Neil Armstrong2fbd3702021-02-25 09:44:38 +010017 meson_generate_serial_ethaddr();
Neil Armstrongb160fac2019-07-22 11:36:14 +020018
19 return 0;
20}