diff options
Diffstat (limited to 'roms/u-boot/arch/openrisc/include/asm/global_data.h')
-rw-r--r-- | roms/u-boot/arch/openrisc/include/asm/global_data.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roms/u-boot/arch/openrisc/include/asm/global_data.h b/roms/u-boot/arch/openrisc/include/asm/global_data.h new file mode 100644 index 00000000..428ce1b4 --- /dev/null +++ b/roms/u-boot/arch/openrisc/include/asm/global_data.h @@ -0,0 +1,21 @@ +/* + * (C) Copyright 2004 Atmark Techno, Inc. + * + * Yasushi SHOJI <yashi@atmark-techno.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __ASM_GBL_DATA_H +#define __ASM_GBL_DATA_H + +/* Architecture-specific global data */ +struct arch_global_data { +}; + +#include <asm-generic/global_data.h> + +/* OR32 GCC already has r10 set as fixed-use */ +#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r10") + +#endif /* __ASM_GBL_DATA_H */ |