2008-03-28 08:47:00 +00:00
|
|
|
/*
|
2010-07-24 18:22:02 +00:00
|
|
|
* (C) Copyright 2002-2010
|
2008-03-28 08:47:00 +00:00
|
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
*
|
|
|
|
* (C) Copyright 2007
|
|
|
|
* Daniel Hellstrom, Gaisler Research, daniel@gaisler.com.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-03-28 08:47:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_GBL_DATA_H
|
|
|
|
#define __ASM_GBL_DATA_H
|
|
|
|
|
|
|
|
#include "asm/types.h"
|
|
|
|
|
2012-12-13 20:48:30 +00:00
|
|
|
/* Architecture-specific global data */
|
|
|
|
struct arch_global_data {
|
2015-10-28 08:35:12 +00:00
|
|
|
void *uart;
|
2012-12-13 20:48:30 +00:00
|
|
|
};
|
|
|
|
|
2012-12-13 20:49:26 +00:00
|
|
|
#include <asm-generic/global_data.h>
|
2008-03-28 08:47:00 +00:00
|
|
|
|
|
|
|
#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("%g7")
|
|
|
|
|
|
|
|
#endif /* __ASM_GBL_DATA_H */
|