blob: 96244c9ccb11b5be05d0c6c212fb564502c0d971 [file] [log] [blame]
Neil Armstrong64b6de92018-09-05 15:57:11 +02001// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2016 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 */
6
Neil Armstrong64b6de92018-09-05 15:57:11 +02007#include <dm.h>
Simon Glass97589732020-05-10 11:40:02 -06008#include <init.h>
Simon Glass274e0b02020-05-10 11:39:56 -06009#include <net.h>
Neil Armstrong64b6de92018-09-05 15:57:11 +020010#include <asm/io.h>
11#include <asm/arch/axg.h>
12#include <asm/arch/sm.h>
13#include <asm/arch/eth.h>
14#include <asm/arch/mem.h>
15
Neil Armstrong64b6de92018-09-05 15:57:11 +020016int misc_init_r(void)
17{
Neil Armstrong978dd9d2020-09-10 10:50:39 +020018 meson_generate_serial_ethaddr();
19
Neil Armstrong64b6de92018-09-05 15:57:11 +020020 return 0;
21}