Rick Chen | 76c0a24 | 2017-12-26 13:55:51 +0800 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2002 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
| 5 | * Copyright (c) 2017 Microsemi Corporation. |
| 6 | * Padmarao Begari, Microsemi Corporation <padmarao.begari@microsemi.com> |
| 7 | * |
| 8 | * SPDX-License-Identifier: GPL-2.0+ |
| 9 | */ |
| 10 | |
| 11 | #ifndef __ASM_GBL_DATA_H |
| 12 | #define __ASM_GBL_DATA_H |
| 13 | |
| 14 | /* Architecture-specific global data */ |
| 15 | struct arch_global_data { |
| 16 | }; |
| 17 | |
| 18 | #include <asm-generic/global_data.h> |
| 19 | |
Rick Chen | b34b4b9 | 2018-02-12 11:10:04 +0800 | [diff] [blame] | 20 | #define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm ("gp") |
Rick Chen | 76c0a24 | 2017-12-26 13:55:51 +0800 | [diff] [blame] | 21 | |
| 22 | #endif /* __ASM_GBL_DATA_H */ |