]>
Commit | Line | Data |
---|---|---|
09983675 JB |
1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | |
3 | * Copyright (C) 2016 BayLibre, SAS | |
4 | * Author: Neil Armstrong <narmstrong@baylibre.com> | |
5 | */ | |
6 | ||
d678a59d | 7 | #include <common.h> |
09983675 | 8 | #include <dm.h> |
09140113 | 9 | #include <env.h> |
60f38d82 | 10 | #include <env_internal.h> |
691d719d | 11 | #include <init.h> |
90526e9f | 12 | #include <net.h> |
09983675 JB |
13 | #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 | ||
19 | int misc_init_r(void) | |
20 | { | |
09983675 JB |
21 | meson_generate_serial_ethaddr(); |
22 | ||
23 | env_set("serial#", "AMLG12ASEI510"); | |
24 | ||
25 | return 0; | |
26 | } |