]> Git Repo - u-boot.git/blob - arch/microblaze/include/asm/global_data.h
Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"
[u-boot.git] / arch / microblaze / include / asm / global_data.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2004 Atmark Techno, Inc.
4  *
5  * Yasushi SHOJI <[email protected]>
6  */
7
8 #ifndef __ASM_GBL_DATA_H
9 #define __ASM_GBL_DATA_H
10
11 #include <asm/cpuinfo.h>
12 #include <asm/u-boot.h>
13
14 /* Architecture-specific global data */
15 struct arch_global_data {
16         struct microblaze_cpuinfo cpuinfo;
17 };
18
19 #include <asm-generic/global_data.h>
20
21 #define DECLARE_GLOBAL_DATA_PTR     register volatile gd_t *gd asm ("r31")
22
23 #define gd_cpuinfo()    ((struct microblaze_cpuinfo *)&gd->arch.cpuinfo)
24
25 #endif /* __ASM_GBL_DATA_H */
This page took 0.024153 seconds and 4 git commands to generate.