2006-10-24 12:21:16 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2004-2006 Atmel Corporation
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2006-10-24 12:21:16 +00:00
|
|
|
*/
|
|
|
|
#ifndef __ASM_GLOBAL_DATA_H__
|
|
|
|
#define __ASM_GLOBAL_DATA_H__
|
|
|
|
|
2012-12-13 20:48:30 +00:00
|
|
|
/* Architecture-specific global data */
|
|
|
|
struct arch_global_data {
|
2012-12-13 20:49:09 +00:00
|
|
|
unsigned long stack_end; /* highest stack address */
|
2012-12-13 20:49:10 +00:00
|
|
|
unsigned long cpu_hz; /* cpu core clock frequency */
|
2012-12-13 20:48:30 +00:00
|
|
|
};
|
|
|
|
|
2012-12-13 20:49:15 +00:00
|
|
|
#include <asm-generic/global_data.h>
|
2006-10-24 12:21:16 +00:00
|
|
|
|
|
|
|
#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
|
|
|
|
|
|
|
|
#endif /* __ASM_GLOBAL_DATA_H__ */
|