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