~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/arch/avr32/include/asm/global_data.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2004-2006 Atmel Corporation
 
3
 *
 
4
 * SPDX-License-Identifier:     GPL-2.0+
 
5
 */
 
6
#ifndef __ASM_GLOBAL_DATA_H__
 
7
#define __ASM_GLOBAL_DATA_H__
 
8
 
 
9
/* Architecture-specific global data */
 
10
struct arch_global_data {
 
11
        unsigned long stack_end;        /* highest stack address */
 
12
        unsigned long cpu_hz;           /* cpu core clock frequency */
 
13
};
 
14
 
 
15
#include <asm-generic/global_data.h>
 
16
 
 
17
#define DECLARE_GLOBAL_DATA_PTR register gd_t *gd asm("r5")
 
18
 
 
19
#endif /* __ASM_GLOBAL_DATA_H__ */