blob: 6490bac9eb5576669e548d7f5e88a378ea8a81c9 [file] [log] [blame]
Neil Armstrongc9b031e2019-10-11 17:33:56 +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 Glassed38aef2020-05-10 11:40:03 -06009#include <env.h>
Neil Armstrongc9b031e2019-10-11 17:33:56 +020010#include <env_internal.h>
Simon Glass97589732020-05-10 11:40:02 -060011#include <init.h>
Simon Glass274e0b02020-05-10 11:39:56 -060012#include <net.h>
Neil Armstrongc9b031e2019-10-11 17:33:56 +020013#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{
Neil Armstrongc9b031e2019-10-11 17:33:56 +020021 meson_generate_serial_ethaddr();
22
23 env_set("serial#", "AMLG12ASEI610");
24
25 return 0;
26}