blob: 1a978d1290a547f5de573e74e83ed8c077508c45 [file] [log] [blame]
Jerome Brunet55f54b22019-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
Jerome Brunet55f54b22019-02-15 13:53:59 +01007#include <dm.h>
Simon Glassed38aef2020-05-10 11:40:03 -06008#include <env.h>
Tom Rini3194ec92019-08-12 18:48:34 -04009#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>
Jerome Brunet55f54b22019-02-15 13:53:59 +010012#include <asm/io.h>
13#include <asm/arch/axg.h>
14#include <asm/arch/sm.h>
15#include <asm/arch/eth.h>
16#include <asm/arch/mem.h>
17
18int misc_init_r(void)
19{
Jerome Brunet55f54b22019-02-15 13:53:59 +010020 meson_generate_serial_ethaddr();
21
22 env_set("serial#", "AMLG12ASEI510");
23
24 return 0;
25}