blob: bb188c21f75f334730ee67b9c2bd7324be4cecd6 [file] [log] [blame]
Jerome Brunet09983672019-02-15 13:53:59 +01001// 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 Glass09140112020-05-10 11:40:03 -06009#include <env.h>
Tom Rini60f38d82019-08-12 18:48:34 -040010#include <env_internal.h>
Simon Glass691d7192020-05-10 11:40:02 -060011#include <init.h>
Simon Glass90526e92020-05-10 11:39:56 -060012#include <net.h>
Jerome Brunet09983672019-02-15 13:53:59 +010013#include <asm/io.h>
14#include <asm/arch/axg.h>
15#include <asm/arch/sm.h>
16#include <asm/arch/eth.h>
17#include <asm/arch/mem.h>
18
19int misc_init_r(void)
20{
Jerome Brunet09983672019-02-15 13:53:59 +010021 meson_generate_serial_ethaddr();
22
23 env_set("serial#", "AMLG12ASEI510");
24
25 return 0;
26}