blob: b84366aaeb15d71ed196b7947e161b8ebc1851e5 [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
Neil Armstrongabb6f162019-07-22 11:36:14 +02007#include <dm.h>
Simon Glass9d1f6192019-08-02 09:44:25 -06008#include <env_internal.h>
Simon Glass97589732020-05-10 11:40:02 -06009#include <init.h>
Simon Glass274e0b02020-05-10 11:39:56 -060010#include <net.h>
Neil Armstrongabb6f162019-07-22 11:36:14 +020011#include <asm/io.h>
12#include <asm/arch/eth.h>
13
14int misc_init_r(void)
15{
Neil Armstrong33ab4f52021-02-25 09:44:38 +010016 meson_generate_serial_ethaddr();
Neil Armstrongabb6f162019-07-22 11:36:14 +020017
18 return 0;
19}