blob: 60abd007821cf76e0a96f45b08acde1762d68816 [file] [log] [blame]
Wolfgang Denk83c15852006-10-24 14:21:16 +02001/*
2 * Copyright (C) 2004-2006 Atmel Corporation
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk83c15852006-10-24 14:21:16 +02005 */
6#ifndef __ASM_GLOBAL_DATA_H__
7#define __ASM_GLOBAL_DATA_H__
8
Simon Glass3ac47d72012-12-13 20:48:30 +00009/* Architecture-specific global data */
10struct arch_global_data {
Simon Glass421b7c02012-12-13 20:49:10 +000011 unsigned long cpu_hz; /* cpu core clock frequency */
Simon Glass3ac47d72012-12-13 20:48:30 +000012};
13
Simon Glass8ed3a642012-12-13 20:49:15 +000014#include <asm-generic/global_data.h>
Wolfgang Denk83c15852006-10-24 14:21:16 +020015
16#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
17
18#endif /* __ASM_GLOBAL_DATA_H__ */