]>
Commit | Line | Data |
---|---|---|
b8ada582 NA |
1 | // SPDX-License-Identifier: GPL-2.0+ |
2 | /* | |
3 | * Copyright (C) 2016 BayLibre, SAS | |
4 | * Author: Neil Armstrong <[email protected]> | |
5 | */ | |
6 | ||
b8ada582 | 7 | #include <dm.h> |
09140113 | 8 | #include <env.h> |
b8ada582 | 9 | #include <env_internal.h> |
691d719d | 10 | #include <init.h> |
90526e9f | 11 | #include <net.h> |
b8ada582 NA |
12 | #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 | ||
18 | int misc_init_r(void) | |
19 | { | |
b8ada582 NA |
20 | meson_generate_serial_ethaddr(); |
21 | ||
22 | env_set("serial#", "AMLG12ASEI610"); | |
23 | ||
24 | return 0; | |
25 | } |